Need the ability to Deactivate a host via the API.
Has there been any update to feature request 11571 - Deactivate Host via API? Details can be found in
viewtopic.php?p=218451
Search found 33 matches
- Mon Oct 02, 2023 7:42 am
- Forum: Nagios XI
- Topic: Feature Request 11571 - Deactivate Host via API
- Replies: 1
- Views: 921
- Thu Sep 16, 2021 11:05 am
- Forum: Open Source Nagios Projects
- Topic: Logon problem with expired token
- Replies: 4
- Views: 6082
Re: Logon problem with expired token
Same behavior here. Unable to login until cookie is deleted. To reproduce, do the following: 1) click on a rapid response link in a host/service alert, e.g., https://nagios.foo.com/nagiosxi/rr.php?oid=29525&token=21a710c9e3d0decd5ac11c14578bb3d3d79c738f 2) you are brought to a page that says &qu...
- Fri Aug 13, 2021 2:15 pm
- Forum: Nagios XI
- Topic: api reports success but host does not get added
- Replies: 12
- Views: 1843
Re: api reports success but host does not get added
Changing mysql sql_mode to "" has corrected this issue. I modified the systemd unit file and set sql mode here ... ExecStart=/usr/libexec/mysqld --basedir=/usr --log-error --sql-mode="" Mode now shows empty string ... $ mysql -u root -p'nagiosxi' -e "SELECT @@GLOBAL.sql_mode...
- Fri Aug 13, 2021 9:15 am
- Forum: Nagios XI
- Topic: service checks stop working for no apparent reason
- Replies: 11
- Views: 1885
Re: service checks stop working for no apparent reason
Another data point:
When I add a comment to a service check via XI, the comment shows up in Core. It does not, however, appear in XI.
When I add a comment to a service check via XI, the comment shows up in Core. It does not, however, appear in XI.
- Fri Aug 13, 2021 7:43 am
- Forum: Nagios XI
- Topic: service checks stop working for no apparent reason
- Replies: 11
- Views: 1885
Re: service checks stop working for no apparent reason
Followed your instructions and downgraded NDO. This had no affect on my two issues: api host add not working and xi statuses not updating consistently. A couple more observations that may help direct us to a cause/fix. 1) Last Check times in XI, when I first logged in today, were reporting correctly...
- Fri Aug 13, 2021 7:15 am
- Forum: Nagios XI
- Topic: api reports success but host does not get added
- Replies: 12
- Views: 1843
Re: api reports success but host does not get added
I removed this component and 2 others earlier this week, following instructions here, https://support.nagios.com/forum/viewtopic.php?f=16&t=61205 rm -rf /usr/local/nagiosxi/html/includes/components/nagiosim rm -rf /usr/local/nagiosxi/html/includes/components/active_directory rm -rf /usr/local/na...
- Thu Aug 12, 2021 3:32 pm
- Forum: Nagios XI
- Topic: api reports success but host does not get added
- Replies: 12
- Views: 1843
Re: api reports success but host does not get added
No, I am not using BPI.
- Thu Aug 12, 2021 2:41 pm
- Forum: Nagios XI
- Topic: api reports success but host does not get added
- Replies: 12
- Views: 1843
Re: api reports success but host does not get added
Changes applied to php.ini and httpd has been restarted.
Tested api add host command and received the same results. Host does not appear on disk, in core or in xi, despite success message.
Tested api add host command and received the same results. Host does not appear on disk, in core or in xi, despite success message.
- Thu Aug 12, 2021 1:30 pm
- Forum: Nagios XI
- Topic: service checks stop working for no apparent reason
- Replies: 11
- Views: 1885
Re: service checks stop working for no apparent reason
Reviewing article here, https://support.nagios.com/kb/article/nagios-xi-last-check-time-not-updating-19.html I see correct "Last Check Time" information in Core for the services. The issue is xi does not show correct times. I've reviewed the article, in particular step 2, and nothing has c...
- Thu Aug 12, 2021 11:21 am
- Forum: Nagios XI
- Topic: api reports success but host does not get added
- Replies: 12
- Views: 1843
Re: api reports success but host does not get added
The api command is attached. When the command is run, I receive the following response: { "success": "Added testapihost to the system. Config applied, Nagios Core was restarted." } But, the host is not added. I will send the profile via pm. Yes, I am running 5.7.5 with postgress ...