When executing the submit_check_result, quotes need to be around the trap name and plugin output. Like so...
/usr/local/nagios/libexec/eventhandlers/submit_check_result (servername) "Short term alloc failed" 1 "$3 requests for short term memory could not be granted on server $1" Nagios then recognized the command and changed the status and sent a notification. Kevin >>> "Andy Shellam (Mailing Lists)" <[EMAIL PROTECTED]> 2/15/2007 11:40 AM >>> Assuming this is Nagios 2.x, you don't have "active_checks_enabled 1" in your service definition (active checks are not enabled.) Andy. Kevin DaSilva wrote: > Hi All... > > I seem to have a problem with passive checks. When I look at the > Services Detail window in Nagios, all my passive checks are pending, > with a status of Service is not scheduled to be checked. I manually > submit a trap using the submit_check_result, the event shows in the log, > but the status doesn't change. > > Here is what I submit : > /usr/local/nagios/libexec/eventhandlers/submit_check_result > (servername) Short term alloc failed 1 $3 requests for short term memory > could not be granted on server $1 > > > > Below is an example of my service: > > define service{ > host_name (server name) > service_description Short term alloc failed > is_volatile 1 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > passive_checks_enabled 1 > check_command check-host-alive > check_period none > notification_interval 31536000 > notification_period 24x7 > notification_options w,u,c,r > contact_groups it-dept > } > > > Any help would be greatly appreciated. > > Thanks, > Kevin > > > > ------------------------------------------------------------------------- > 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 > > !DSPAM:37,45d48a7618513788438255! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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