check_rpc

Subhendu Ghosh sghosh at sghosh.org
Wed Nov 19 21:53:42 CET 2003


On Wed, 19 Nov 2003, Miljan Markus wrote:

> Where can I find more documentation on how to use the check_rpc plugin? 
> Everywhere I looked I found only what is given when I type check_rpc 
> -h, which is:
> 
> Check if a rpc service is registered and running using
>        rpcinfo -H host -C rpc_command
> 
> Usage:
>   check_rpc -H host -C rpc_command [-p port] [-c program_version] 
> [-u|-t] [-v]
>   check_rpc [-h | --help]
>   check_rpc [-V | --version]
> 
>    <host>          The server providing the rpc service
>    <rpc_command>   The program name (or number).
>    <program_version> The version you want to check for (one or more)
>                      Should prevent checks of unknown versions being 
> syslogged
>                      e.g. 2,3,6 to check v2, v3, and v6
>    [-u | -t]       Test UDP or TCP
>    [-v]            Verbose
>    [-v -v]         Verbose - will print supported programs and numbers
> 
> This doesn't really help very much. Thanks,
> 
> Miljan
> 
> 

Eg - NIS (ypserv) uses RPC program number 100004.

To check if you NIS server is running as reported by rpc_portmapper - run
"check_rpc -H nis_server -C ypserv"

The list of options supported under the "-C" option can be found by using 
the "-v -v" option.

-- 

-sg



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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