Search found 6 matches

by trazzdk
Wed Dec 17, 2014 5:32 am
Forum: Open Source Nagios Projects
Topic: Simple Check config / Restart script
Replies: 2
Views: 2704

Simple Check config / Restart script

Hi all. I have created a simple Check & restart script for Nagios.. It does the "nagios -v .. check" and if errors found, it will report which cfg files and which lines.. If none found it will restart with a 5 seconds timer (in case you regret). I was looking for something like this to...
by trazzdk
Wed Dec 17, 2014 4:58 am
Forum: Open Source Nagios Projects
Topic: Mail notification (Ping service) attach traceroute
Replies: 12
Views: 6690

Re: Mail notification (Ping service) attach traceroute

Hi guys. Once again thanks for your valuable input. I ended up doing it globally simple by changing notify-host-by-email: in /usr/local/nagios/etc/objects/commands.cfg # The New notify-host-by-email - To add Traceroute. define command{ command_name notify-host-by-email command_line $USER1$/notify-pi...
by trazzdk
Wed Dec 10, 2014 9:47 am
Forum: Open Source Nagios Projects
Topic: Mail notification (Ping service) attach traceroute
Replies: 12
Views: 6690

Re: Mail notification (Ping service) attach traceroute

Thank you all for your replies.

I think, when I have time to look into this again, I will try to go for the event handler solution :)
by trazzdk
Tue Dec 09, 2014 6:24 am
Forum: Open Source Nagios Projects
Topic: Mail notification (Ping service) attach traceroute
Replies: 12
Views: 6690

Re: Mail notification (Ping service) attach traceroute

Hi box293. Thanks for your fast reply. I have now spend some hours trying with the script "plugin_command_wrapper" found on nagios_exchange. It feels like I am onto something, but is missing the last bit. I can get the plugin to return the traceroute and PING CRITICAL /usr/local/nagios/lib...
by trazzdk
Mon Dec 08, 2014 6:16 am
Forum: Open Source Nagios Projects
Topic: Mail notification (Ping service) attach traceroute
Replies: 12
Views: 6690

Mail notification (Ping service) attach traceroute

Hi guys,

We would like to have a traceroute attached to our Service: PING notifications.

So if we get a Ping warning / critical e-mail notification, a traceroute is attached as well.

Any ideas how to do this ?

/Trazz