check_apc_pdu.pl

Vamsikrishna Polisetty vpoliset at ikanos.com
Sat Jul 17 13:36:36 CEST 2010


Hi

 

Can you help me in using check_apc_pdu.pl in nagios configuration.

 

I configured commands.cfg

# 'check_apc_pdu' command definition

define command{

        command_name check_apc_pdu

        command_line    $USER1$/check_apc_pdu.pl -H $HOSTADDRESS$

}

 

Service 

define service{

        use                     generic-service

        host_name               blrapcrack4P1

        service_description     HEALTH

        check_command           check_apc_pdu

        }

 

I switched off one outlet but the Status is 

 

Current Status:

  OK  

 (for 0d 1h 51m 46s)

Status Information:

OK: All Outlets ok.

Performance Data:

load=0

Current Attempt:

1/3  (HARD state)

Last Check Time:

07-17-2010 17:07:07

Check Type:

ACTIVE

Check Latency / Duration:

0.190 / 5.841 seconds

Next Scheduled Check:  

07-17-2010 17:17:07

Last State Change:

07-17-2010 15:17:07

Last Notification:

N/A (notification 0)

Is This Service Flapping?

  NO  

 (0.00% state change)

In Scheduled Downtime?

  NO  

Last Update:

07-17-2010 17:08:52  ( 0d 0h 0m 1s ago

 

 

Thanks

Vamsi

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100717/8571a15a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-------------- next part --------------
_______________________________________________
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