Found a forum post with what I was wanting to see, but it looks to be still an open issue maybe?
https://support.nagios.com/forum/viewto ... ey#p159966
Has there been any progress on this?
We are using the API to make Nagios XI and AWS integration be dynamic. We are also adding and removing network gear dynamically, and are planning to add Storage Systems. At some point, maybe all our ESX virtuals will be dynamically added and monitored. Depends...
When something goes wrong, or if the key is compromised, I would like to be able to change the key either manually, via code, or to just disable it for a while. Not every user needs to be able to use an API interface. Yet they all have a key. To commit changes, the API user needs to have admin rights. I have special users created for the API integration we are using. Those user accounts have unknown passwords, that will never be used for a login. The accounts are only for API access with the ability to commit.
I need to be able to turn off the specific API, or disable the account without deleting it, or stop the remote changes being made via some method.
Anyone have ideas other than butchering the php code that allows API access? I do not want to stop ALL API access. I need some refinement in basic capabilities.
Thanks
Steve B
regenerate or change API Keys
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
regenerate or change API Keys
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
Re: regenerate or change API Keys
The ability to disable API access AND regenerate the key should be released with XI 5.3, so it's coming, I'm unable to give an ETA though.
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: regenerate or change API Keys
Thank you. Close this if you need to...
Steve B
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1