Here’s my problem… I have configured the 2d map in Nagios so I have a nice visual of my devices.
Unfortunately, the green “Up” or red “Down” state of an host is ridiculousely small.
So, I thougt of changing the background png file.
I tried to do that by writing a small script on ping errors on some device… BUT -this is the problem-, the script does not seem to be launched.
I made :
To enable your event handler it’s not enough to only put
event_handler_enabled=1 in your config.
You must also go to the cgi webpage for each service in question and enable the event handler, or if you only have a disable link, then disable and then enable it. This is due to retention as explained in the link above.