I am trying to generate an API key for a local user on my Fortigate 60D running version 6.2.7. I am trying to monitor this with prometheus and grafana but keep getting access denied. I am using the fortigate_exporter to monitor this.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>401 Unauthorized</title> </head><body> <h1>Unauthorized</h1> <p>This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.</p> <p>Additionally, a 401 Unauthorized error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html>