Search found 14 matches

by story
Mon Apr 06, 2026 8:28 pm
Forum: Nagios XI
Topic: RESOLVED: Custom Alert Not firing
Replies: 7
Views: 3811

Re: Custom Alert Not firing

Figured it out... Changed the nagios.cfg debug settings to focus on only notifications: debug_level=32 debug_verbosity=2 Then saw this.. [1775524294.780015] [032.2] [pid=3936122] ** Checking service notification viability for contact 'IOC-OUA'... [1775524294.780027] [032.2] [pid=3936122] We shouldn'...
by story
Mon Apr 06, 2026 8:04 pm
Forum: Nagios XI
Topic: RESOLVED: Custom Alert Not firing
Replies: 7
Views: 3811

Re: Custom Alert Not firing

Here is the config with the debug info included.. nothing is written to /tmp define command { command_name Soco-Notify-Ioc-Host command_line /home/nagios/scripts/to-isa-nagios/notify-nagios-ioc.py HOST --debug >> /tmp/nag-teams-debug.log 2>&1 } define command { command_name Soco-Notify-Ioc-Servi...
by story
Mon Apr 06, 2026 7:33 pm
Forum: Nagios XI
Topic: RESOLVED: Custom Alert Not firing
Replies: 7
Views: 3811

Re: Custom Alert Not firing

Hi @story, Thanks for your post. In your case, I would use debug logging and verbosity on Nagios, and I would also leverage the debug on the custom script. See https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/configmain.html and ctl-f for "debug". set debug_level to 289...
by story
Mon Apr 06, 2026 7:30 pm
Forum: Nagios XI
Topic: RESOLVED: Custom Alert Not firing
Replies: 7
Views: 3811

Re: Custom Alert Not firing

Hey story , In your command definitions I think you need to need to change the "HOST" and "SERVICE" quoted strings to be environment variables sent from Nagios. So $HOSTNAME$ instead of "HOST" and $SERVICEDESC$ instead of "SERVICE". Here is a full list of the...
by story
Mon Apr 06, 2026 10:42 am
Forum: Nagios XI
Topic: RESOLVED: Custom Alert Not firing
Replies: 7
Views: 3811

RESOLVED: Custom Alert Not firing

Ive written a custom alert script that fires to a webhook style url. Currently i cannot get the alert to even attempt to execute. when i enable logging in nagios.cfg i can see additional email based alerts going, but this custom one is never even attempted. Im not sure what im missing.. This is base...
by story
Fri Jul 25, 2025 7:09 am
Forum: Nagios XI
Topic: Adding Contact groups to Host Groups
Replies: 1
Views: 2946

Adding Contact groups to Host Groups

I try to make my nagios setup as easy to manage as possible. I have a large number of devices to contend with and many different organizations to alert. Normally when I need to setup a group of checks, I add those checks to Host Groups, then all I need to do is add the system to the host group and i...
by story
Wed Apr 02, 2025 1:18 pm
Forum: Nagios XI
Topic: nagiosxi status is not updating compared to nagios-core
Replies: 5
Views: 1438

Re: nagiosxi status is not updating compared to nagios-core

the /usr/local/nagios/etc/ndo.cfg file had bogus characters in it. restored it from backup... we did a MD5SUM on every file from a backup against all the files in the current filesystem, this was one that came back different... dunno why it was able to read and we got no errors on mysql updates or r...
by story
Tue Apr 01, 2025 4:32 pm
Forum: Nagios XI
Topic: nagiosxi status is not updating compared to nagios-core
Replies: 5
Views: 1438

Re: nagiosxi status is not updating compared to nagios-core

we are looking to upgrade but our change management process can be difficult. Doing this repair with the script, we can do as an emergency.

if the script would be ok for my version, I can extract it from the newer update package...

thanks.
by story
Mon Mar 31, 2025 11:34 am
Forum: Nagios XI
Topic: nagiosxi status is not updating compared to nagios-core
Replies: 5
Views: 1438

nagiosxi status is not updating compared to nagios-core

we have a situation where nagios xi status does not match nagios-core status. What is the best way to resolve this? - We have rebooted the server - Verified that nagios core is responding to "force immediate check" - did the repair database script im assuming the DB is connected since we a...