APC or Triplite links anyone ?
Lars Stavholm
stava at telcotec.se
Thu Jan 31 00:38:19 CET 2008
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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_apc.sh
Type: application/x-shellscript
Size: 6697 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080131/b0e1ade8/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- 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