> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of DOUCE Sebastien > Sent: Friday, March 30, 2007 8:14 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Nagios 2.8 No notification. > > Hello, > > I'am triyng to have this king of notification : > > > define command{ > > command_name host-par-snmptrap > > command_line /usr/bin/snmptrap -v 1 -c public 194.2.53.41 > 1.3.6.1.4.1.999 $HOSTADDRESS$ 6 0 '' .0.15.1 s > "$HOSTGROUPALIAS$ $HOSTGROU > > PNAME$ PING $HOSTSTATE$ `/bin/echo "$HOSTOUTPUT$" | /bin/sed > "s/\ /\_/g"`" > } > > > define command{ > > command_name service-par-snmptrap > > command_line /usr/bin/snmptrap -v 1 -c public 194.2.53.41 > 1.3.6.1.4.1.999 $HOSTADDRESS$ 6 0 '' .0.15.1 s > "$HOSTGROUPALIAS$ $HOSTGROU > > P$ $SERVICEDESC$ $SERVICESTATE$ `/bin/echo "$SERVICEOUTPUT$" > | /bin/sed "s/\ /\_/g"`" > > } > > > > But nothing append , I never receive any notification ...
Have you defined anything that uses those commands? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null