[Nagiosplug-help] ifoperstatus problem

Jake Colman colman at ppllc.com
Fri Oct 25 12:01:10 CEST 2002


>>>>> "SG" == Subhendu Ghosh <sghosh at sghosh.org> writes:

    SG> Please post the configs and command line output -sg


Command Definition
------------------
define command{
	command_name	check_if
	command_line	$USER1$/check_ifoperstatus -H 127.0.0.1 -k 2 -C public
	}

Service Definition
------------------
define service{
	use				generic-service	
	host_name			firewall
	service_description		eth0
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_if!eth0
	}

Output from command-line
------------------------
OK: host '127.0.0.1', eth0(2) is up


    SG> On 25 Oct 2002, Jake Colman wrote:

    >>
    >> I installed ifoperstatus but nagios status information says "no
    >> output". If I run it from the command-line against an interface it
    >> works fine.  I edited the services.cfg file to not use arguments and
    >> simply hard-coded values (since I know that it works form the
    >> command-line) but still no joy.  Any idea what I'm doing wrong?
    >>
    >>

    SG> --


-- 
Jake Colman                     

Principia Partners LLC                  Phone: (201) 209-2467
Harborside Financial Center               Fax: (201) 946-0320
902 Plaza Two                          E-mail: colman at ppllc.com
Jersey City, NJ 07311                  www.principiapartners.com




More information about the Help mailing list