Problem with check_nis script

Patrick Morris patrick.morris at hp.com
Tue Mar 6 20:39:24 CET 2007


Hi Kaplan,!

On Tue, 06 Mar 2007, Kaplan, Andrew H. wrote:

> #  'check_nis_space' command definition
> 
> define command{
> 
>             command_name            /usr/local/nagios/libexec/check_nis -H space
> -d nisdomain
> 
>             command_line               /usr/local/nagios/libexec/check_nis -H
> space -d nisdomain
> 

> When I run the nagios -v check, I get an error message stating that the
> check_nis_space check_command in services.cfg is not defined anywhere. 

It's not -- you've defined a command named "/usr/local/nagios/libexec/check_nis -H space -d nisdomain"

You probably want "command_name check_nis_space"

-------------------------------------------------------------------------
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 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