UPS Monitoring

Steve Shipway s.shipway at auckland.ac.nz
Fri Jul 8 03:57:37 CEST 2005


>Has anyone has en experience of using Nagios for UPS 
>monitoring ? We use local UPS (brand ICA) with RUPS interface 
>card from megatec 
>(http://www.megatec.com.tw/)

We monitor ours via SNMP.  I have no idea what the interface card is,
though, although it seems to use a standard UPS part of the MIB tree. Here's
the config if you're interested (suitably obfuscated):

-Steve

define service{
    name            svc-dev-ups-timeleft
    use         generic-service
    service_description Autonomy Time
    check_command
check_snmp!community!1.3.6.1.2.1.33.1.2.3.0!30:999!10:999!m
in remaining!Battery
    contact_groups  unix-admins,operators
    host_name ups
        max_check_attempts      2
        normal_check_interval   5
        retry_check_interval    1
}
define service{
    name            svc-dev-ups-output
    use         generic-service
    contact_groups  unix-admins,operators
    host_name ups
        max_check_attempts      2
        normal_check_interval   20
        retry_check_interval    5
	register 0
}

define service {
    use        svc-dev-ups-output
    service_description Output Load 1 [Blue]
    check_command
check_snmp!public!1.3.6.1.2.1.33.1.4.4.1.5.1!0:80!0:95!%
!Load
}
define service{
    use            svc-dev-ups-output
    service_description Output Load 2 [Yellow]
    check_command
check_snmp!community!1.3.6.1.2.1.33.1.4.4.1.5.2!0:80!0:95!%
!Load
}
define service{
    use            svc-dev-ups-output
    service_description Output Load 3 [Red]
    check_command
check_snmp!community!1.3.6.1.2.1.33.1.4.4.1.5.3!0:80!0:95!%
!Load
}

define service{
    name            svc-dev-ups-alarms-present
    use         generic-service
    service_description UPS Alarms
    check_command
check_snmp!community!1.3.6.1.2.1.33.1.6.1.0!0:0!0:0!alarms!
UPS alarm count:
    contact_groups  unix-admins,operators
    host_name ups
        max_check_attempts      1
        retry_check_interval    5
}




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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