APC or Triplite links anyone ?

Lars Stavholm stava at telcotec.se
Wed Jan 30 23:46:50 CET 2008


Ennis Ibarra wrote:
> Can anybody point me to a "decent" howto or some example on how to setup
> and use check_apc_ups.pl plugin for APC UPSs?
> 
> Or options to monitor APCs and Triplite UPSs if you have found any
> that's worth checking.
> 
> Any help is appreciated.

Well, this is just the checks that we use:

define service {
  use                   generic-service
  host_name             @NAME@
  service_description   apcups_online
  servicegroups         hardware
  check_command         check_apc!status!0!0!0!0
}

define service {
  use                   generic-service
  host_name             @NAME@
  service_description   apcups_temp
  servicegroups         hardware
  check_command         check_apc!temp!35!40!10!5
}

define service {
  use                   generic-service
  host_name             @NAME@
  service_description   apcups_ld
  servicegroups         hardware
  check_command         check_apc!load!80!90!0!0
}

define service {
  use                   generic-service
  host_name             @NAME@
  service_description   apcups_bcharge
  servicegroups         hardware
  check_command         check_apc!bcharge!20!10!0!0
}

define service {
  use                   generic-service
  host_name             @NAME@
  service_description   apcups_time
  servicegroups         hardware
  check_command         check_apc!time!8!5!0!0
}

define service {
  use                   generic-service
  host_name             @NAME@
  service_description   apcups_linev
  servicegroups         hardware
  check_command         check_apc!linev!235!240!225!220
}

define service {
  use                   generic-service
  host_name             @NAME@
  service_description   apcups_linefreq
  servicegroups         hardware
  check_command         check_apc!linefreq!51!52!49!48
}

And here's the command definition:

define command {
  command_name check_apc
  command_line $USER1$/extras/check_apc $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
}


Hope you find it useful, I know we do:)
/L


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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