Question about service checks run over NRPE

Subhendu Ghosh sghosh at sghosh.org
Tue Apr 8 22:12:21 CEST 2003


On Tue, 8 Apr 2003, Mark Hennessy wrote:

> If a service check is run over NRPE against the services running on a
> remote host, if NRPE itself times out or does not respond, would this be
> reported as a STATE_CRITICAL, a STATE_WARNING, or a STATE_UNKNOWN?


Follow the source luke --

>From check_nrpe:
void alarm_handler(int sig){

        printf("CHECK_NRPE: Socket timeout after %d 
seconds.\n",socket_timeout);

        exit(STATE_CRITICAL);
        }


-- 

-sg



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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