Search found 20 matches

by tgrtjake
Wed Nov 09, 2016 9:15 am
Forum: Open Source Nagios Projects
Topic: Different users to see different hosts groups in Core Web UI
Replies: 7
Views: 3794

Re: Different users to see different hosts groups in Core We

Thanks for your suggestion, although wouldn't this only allow me to split out the email alerting side of things, but not the web UI? Bearing in mind that my current installation is on a virtual server anyway, this would be a VM within a VM! I'd better back up my config files Many, MANY times! Pete ...
by tgrtjake
Wed Nov 09, 2016 9:13 am
Forum: Open Source Nagios Projects
Topic: UPS battery lifetime alert
Replies: 50
Views: 25183

Re: UPS battery lifetime alert

This is a perl script so you would need perl installed to use this. In my case it works great. You may or may not like it, but I thought I would suggest it to you to try. Here's the link for the plugin. https://exchange.nagios.org/directory/Plugins/Hardware/UPS/APC/UPS-Checks/details?_ga=1.258477452...
by tgrtjake
Tue Nov 08, 2016 10:19 am
Forum: Open Source Nagios Projects
Topic: Different users to see different hosts groups in Core Web UI
Replies: 7
Views: 3794

Re: Different users to see different hosts groups in Core We

The way I do it is I create a contactgroup for group A hosts and group B hosts then add the contactgroup to each cfg you want the user to have access to.
by tgrtjake
Tue Nov 08, 2016 10:04 am
Forum: Open Source Nagios Projects
Topic: UPS battery lifetime alert
Replies: 50
Views: 25183

Re: UPS battery lifetime alert

Here's an edited script to work with my APC Smart-UPS 2200. #!/usr/local/groundwork/bin/perl # Copyright (C) 2004 Altinity Limited # E: info@altinity.com W: http://www.altinity.com/ # Modified by pierre.gremaud@bluewin.ch # # This program is free software; you can redistribute it and/or modify # it ...
by tgrtjake
Tue Nov 08, 2016 9:38 am
Forum: Open Source Nagios Projects
Topic: UPS battery lifetime alert
Replies: 50
Views: 25183

Re: UPS battery lifetime alert

so i changed that ############################################################################### 40 # 41 # UPS SNMP COMMANDS 42 # 43 ################################################################################ 44 # 'snmp_ups_stat' command definition 45 define command{ 46 command_name snmp_ups_...
by tgrtjake
Fri Nov 04, 2016 2:31 pm
Forum: Open Source Nagios Projects
Topic: UPS battery lifetime alert
Replies: 50
Views: 25183

Re: UPS battery lifetime alert

If you don't want to use run time you could use battery capacity remaining in percentage. I use this instead of run time as that fluctuates based on connected devices being powered on and off.

upsAdvBatteryCapacity .1.3.6.1.4.1.318.1.1.1.2.2.1.0
by tgrtjake
Fri Nov 04, 2016 2:24 pm
Forum: Open Source Nagios Projects
Topic: UPS battery lifetime alert
Replies: 50
Views: 25183

Re: UPS battery lifetime alert

so its not the battery lifetime that warn for replacing its the one that warn for remaining charge ok, how can raise the values to reduce warnings like that, because i am on AC its not important to have 10m or 5m Yes, you'll need to change the -c and -w to something like this. Also, if I were you I...
by tgrtjake
Fri Nov 04, 2016 2:07 pm
Forum: Open Source Nagios Projects
Topic: UPS battery lifetime alert
Replies: 50
Views: 25183

Re: UPS battery lifetime alert

You are going to get a warning and critical for sure because this OID is for battery run time remaining. sorry just found it at another folder # 'snmp_ups_stat' command definition define command{ command_name snmp_ups_stat command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.31...
by tgrtjake
Fri Nov 04, 2016 1:57 pm
Forum: Open Source Nagios Projects
Topic: UPS battery lifetime alert
Replies: 50
Views: 25183

Re: UPS battery lifetime alert

Looking at https://exchange.nagios.org/directory/Plugins/Network-Protocols/SNMP/APC-UPS-Health-and-Load/details I can see that "Battery LifeTime" is actually upsAdvBatteryRunTimeRemaining .1.3.6.1.4.1.318.1.1.1.2.2.3.0. If you are looking for an alert as to when the batteries are needing r...
by tgrtjake
Fri Nov 04, 2016 11:23 am
Forum: Open Source Nagios Projects
Topic: UPS battery lifetime alert
Replies: 50
Views: 25183

Re: UPS battery lifetime alert

I use iReasoning MIB Browser and I too have an APC Smart-UPS 2200. I think you may be looking at the wrong OID. Here are some OIDs I found. upsAdvBatteryRunTimeRemaing .1.3.6.1.4.1.318.1.1.1.2.2.3.0 "The UPS battery run time remaining before battery exhaustion." --Example, mine will return...