Hi,
PFA the profile file.
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
Windows service restart using Nagios XI event handler
Re: Windows service restart using Nagios XI event handler
Thanks & Regards,
I2MP Team.
I2MP Team.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Windows service restart using Nagios XI event handler
Hello @RIDS_I2MP,
Thank your for sending over the system profile. Looking over the configurations, you have the event handler assigned to the Windows Time service and Windows Update service ( host: EU2NAPW446). However, there's not a corresponding log entry for those services going into a HARD critical state that would fire the event handlers. As mentioned, you can force this by sending passive checks (see earlier post).
You should find an entry in the /usr/local/nagios/var/nagios.log similar to this to call the event handler.
See: Repairing The Nagios XI Databases
Thank your for sending over the system profile. Looking over the configurations, you have the event handler assigned to the Windows Time service and Windows Update service ( host: EU2NAPW446). However, there's not a corresponding log entry for those services going into a HARD critical state that would fire the event handlers. As mentioned, you can force this by sending passive checks (see earlier post).
You should find an entry in the /usr/local/nagios/var/nagios.log similar to this to call the event handler.
Also, I noticed there's entries for crashed database tables in the profile. Log in as root to the terminal and run the database repair script:SERVICE ALERT: localhost;Current Load;CRITICAL;HARD;4;test
SERVICE NOTIFICATION: nagiosadmin;localhost;Current Load;CRITICAL;xi_service_notification_handler;test
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.sh
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!