What version of Cacti are you using?zkenton wrote:sorry but I'm very new to cacti...i went to import templates page and tried importing this APC template you've developed and when i save it and import it says Hash version does not exist...do I have to edit this file somehow
APC UPii Monitoring via Windows from *nix Cacti
Moderators: Developers, Moderators
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
Thank you for pointing out the problem with the ° sign.
Here is a fixed version that works with 0.8.7.
Here is a fixed version that works with 0.8.7.
- Attachments
-
- cacti_graph_template_apc_stats.xml
- (48 KiB) Downloaded 2019 times
-
- Posts: 13
- Joined: Fri Dec 05, 2008 4:06 pm
- Location: Santa Clara CA
- Contact:
UPS Monitoring
I have used ABX's template for our UPS. The battery output is in celcus. It appears to me that it is being conferted to Fahrenheit with the following CDEF.
Do I need to do something to get it to display in the graph?
Steve
Do I need to do something to get it to display in the graph?
Steve
- Attachments
-
- c to f.JPG (133.24 KiB) Viewed 7033 times
-
- Posts: 3
- Joined: Thu Jul 25, 2013 3:04 pm
Re: APC UPii Monitoring via Windows from *nix Cacti
I have been having trouble getting this to work. For some reason the powerchute agent I installed on my windows 2003 servers does not respond to snmp get requests correctly. I have detailed the error at the following link:
http://stackoverflow.com/questions/1859 ... mber-issue
Due to this error I am looking for a php or shell script that can work around the error. Has anyone already encountered and solved this issue?
The above post is replicated below:
http://stackoverflow.com/questions/1859 ... mber-issue
Due to this error I am looking for a php or shell script that can work around the error. Has anyone already encountered and solved this issue?
The above post is replicated below:
EDIT: I just went to write my own shell script, and I discovered that after letting the servers sit for a couple of weeks the SNMP get is working correctly now. They have gone through a reboot in that time which might have been the trigger that started them all working.I recently hooked up an APC battery backup to one of my servers, I installed the powerchute agent on the server and have verified that I can remotely access the agent and the APC through the agent.
I am trying to get my Cacti install to retrieve my APC data, and everything is working except that it is returning "Result from SNMP not valid. Partial Result: U" and I suspect it is do to the SNMP problem I am having. How can I fix it so the MIB works with the instance number?
From the command line I can successfully GET other OIDs.
From the command line I can snmpwalk the powerchute MIB as long as I do not add the final instance number. Adding the instance number causes nothing to be returned.Code: Select all
----WORKS---- $ snmpget -v1 -cpublic 192.168.1.2 .1.3.6.1.2.1.1.3.0 iso.3.6.1.2.1.1.3.0 = Timeticks: (140629508) 16 days, 6:38:15.08
Code: Select all
----WORKS---- $ snmpwalk -v1 -cpublic 192.168.1.2 .1.3.6.1.4.1.318.1.1.1.2.2.3 iso.3.6.1.4.1.318.1.1.1.2.2.3.0 = Timeticks: (72000) 0:12:00.00
However I can not snmpget any of the powerchute OIDs with or without the instance number.Code: Select all
----FAILS---- $ snmpwalk -v1 -cpublic 192.168.1.2 .1.3.6.1.4.1.318.1.1.1.2.2.3.0 $
Code: Select all
----FAILS---- $ snmpget -v1 -cpublic 192.168.1.2 .1.3.6.1.4.1.318.1.1.1.2.2.3.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: iso.3.6.1.4.1.318.1.1.1.2.2.3.0
Code: Select all
----FAILS---- $ snmpget -v1 -cpublic 192.168.1.2 .1.3.6.1.4.1.318.1.1.1.2.2.3 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: iso.3.6.1.4.1.318.1.1.1.2.2.3
-
- Posts: 3
- Joined: Wed Apr 01, 2015 8:07 am
Re: APC UPii Monitoring via Windows from *nix Cacti
Please add a graph battery Charge and Voltage, as implemented in PowerWare
UPS-MIB::upsEstimatedChargeRemaining.0 (.1.3.6.1.2.1.33.1.2.4.0)
UPS-MIB::upsBatteryVoltage.0 (.1.3.6.1.2.1.33.1.2.5.0)
UPS-MIB::upsEstimatedChargeRemaining.0 (.1.3.6.1.2.1.33.1.2.4.0)
UPS-MIB::upsBatteryVoltage.0 (.1.3.6.1.2.1.33.1.2.5.0)
- Attachments
-
- cacti_host_template_apc_smart_ups_with_charge_and_batt_voltage.zip
- (19.49 KiB) Downloaded 212 times
Who is online
Users browsing this forum: No registered users and 0 guests