PM sent with requested info
Thanks!
Set API key for NagosXI
Re: Set API key for NagosXI
The error when downloading the system profile is a permission issue or a missing / changed setting in the /etc/sudoers file. Take a look at this KB article to see if that fixed that issue.
https://support.nagios.com/kb/article/n ... ailed.html
Can you post or pm me the following file?
As well as the output from this command run as root?
https://support.nagios.com/kb/article/n ... ailed.html
Can you post or pm me the following file?
Code: Select all
/usr/local/nagiosxi/html/config.inc.phpCode: Select all
ps -ef --cols=300Be sure to check out our Knowledgebase for helpful articles and solutions!
-
nagwindmon
- Posts: 92
- Joined: Mon Dec 01, 2014 3:39 pm
Re: Set API key for NagosXI
downloading the system profile issue has been resolved, System file has been pm'd
2 other pieces of info requested please see attached
2 other pieces of info requested please see attached
You do not have the required permissions to view the files attached to this post.
Re: Set API key for NagosXI
Your Nagios XI server is using the Postgres database so you woulld have to use this command to set the API key. Replace 1234567890 with the key you want to use.
Code: Select all
echo 'UPDATE xi_users SET backend_ticket = '123456780' WHERE user_id = 18;' | psql nagiosxi nagiosxiBe sure to check out our Knowledgebase for helpful articles and solutions!
-
nagwindmon
- Posts: 92
- Joined: Mon Dec 01, 2014 3:39 pm
Re: Set API key for NagosXI
well, good know, that worked!
So for NagiosXI ver 5.x.x and up would you suggest to convert from PostgreSQL to MySQL going forward?
So for NagiosXI ver 5.x.x and up would you suggest to convert from PostgreSQL to MySQL going forward?
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Set API key for NagosXI
Converting will be a painful process. If you want to just note in tickets/forum threads that you have postgres for the XI database that would be helpful. It's one of the reasons we ask for the full profile but when we check that we're mostly looking at /usr/local/nagiosxi/html/config.inc.php for determining postgres usage (running processes also useful). If mention your system has been upgraded from 2014, that will also be a clue.
That all said, are we ready to lock this up?
That all said, are we ready to lock this up?
-
nagwindmon
- Posts: 92
- Joined: Mon Dec 01, 2014 3:39 pm
Re: Set API key for NagosXI
Got it, Yes we're ready to lock it, as always appreciated your help guys!!