Re: [Nagios-users] Configuring Nagios to Send SNMP trap to anothe r monitoring tool
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: Raffaello R. <raf...@gm...> - 2006-10-26 07:53:24
|
Hi, Thanks for your suggest. As a test of the service event_handler, I defined: define command { command_name newcommand command_line /bin/echo $SERVICESTATE$ >> /root/test.txt } define service { use generice-service host_name switch.mydomain.com service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 event_handler newcommand event_handler_enabled 1 contact_groups me notification_interval 300 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } After this I reload the nagios configuration file, but nothing seems happen. On 10/25/06, Tedman Eng <te...@da...> wrote: > > Have a peek at the Nagios FAQ: > > Sending SNMP traps to a management host > http://nagios.org/faqs/viewfaq.php?faq_id=28 > > > > -----Original Message----- > From: Raffaello Risso [mailto:raf...@gm...] > Sent: Wednesday, October 25, 2006 7:55 AM > To: nag...@li... > Subject: [Nagios-users] Configuring Nagios to Send SNMP trap to another > monitoring tool > > > Hi all! > > I've a question for you: > > I've the need to define a new command in nagios to send an SNMP trap to > another monitoring tool installed in my network. > This event must happen in the case of ALERT/WARNING or CRITICAL result of > check_ping instead of sending email. > Anybody have a solution? > > Thanks all, > Raffaello > |