SNMP and freshness checks
Russell Scibetti
russell at quadrix.com
Fri May 2 16:30:17 CEST 2003
Yes, the $HOSTNAME$ and $SERVICEDESC$ macros. The check_command follows
the normal service check command format, even though it is only
triggered by freshness. Define it in your configs to use those macros.
Russell Scibetti
Gareth Hash wrote:
>Hello.
>
>I am receiving SNMP traps in passive mode every few minutes.
>According to the manual, I could use check_freshness to make sure the
>traps are being received at the correct time. In the case that it is
>not, I would like to change the status of the host and service on the
>Nagios display.
>
>My understanding is that the check_command script is executed when
>the freshness is "stale". Is there a way to pass the host name and
>service description to this script so I could send it back to the
>external command file for the status to change on the Service Detail
>display for the host and service in question?
>
>Thank you.
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo.
>http://search.yahoo.com
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at 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
>
>
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list