Ennis Ibarra wrote:
> Hey thanks, one extra favor though.   Where do I download the check_apc
> plugin, I only have check_apc_ups, but I don't think it is the same.

Sorry, my bad, forgot about the most cruical part of it all:)

We originaly got our check_apc from nagiosexchange.org:
<http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1[p_view]=615>

We had to make some changes to it though,
so I've attached a copy of ours.

Good Luck
/L

> On Wed, 2008-01-30 at 23:46 +0100, Lars Stavholm wrote:
>> 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
> __________________________________________________________
> Ennis Ibarra - NSASr
> 

Attachment: check_apc.sh
Description: application/shellscript

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

Reply via email to