TrippLite PowerAlert UPS stats -- update November 11, 2010

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

ssinay
Posts: 3
Joined: Fri Dec 03, 2010 5:59 pm

Re: TrippLite PowerAlert UPS stats -- update November 11, 20

Post by ssinay »

root@shepherd:/usr/share/cacti/site/scripts# php ss_poweralert_ups_status.php 172.16.1.104:1:tlremote:::::::: index
1

root@shepherd:/usr/share/cacti/site/scripts# php ss_poweralert_ups_status.php 172.16.1.104:1:tlremote:::::::: query upsname 1
FATAL: Unable to locate UPS attribute data in SNMP

The script actually seems to work, but it always fails anything besides `index`

Anyone have any thoughts?
fredy25
Posts: 1
Joined: Fri Aug 12, 2011 11:46 am

Re: TrippLite PowerAlert UPS stats -- update November 11, 20

Post by fredy25 »

Has anyone solved the problem of ssinay, as I have the same problem. And I do not plot anything
ivanp
Posts: 4
Joined: Mon Jun 26, 2006 9:08 am

Re: TrippLite PowerAlert UPS stats -- update November 11, 20

Post by ivanp »

I am having the same problem as reported by ssinay. Running cacti 0.8.6j
Anyone got ideas?
duffrecords
Posts: 10
Joined: Fri Aug 03, 2012 6:58 pm

Re: TrippLite PowerAlert UPS stats -- update November 11, 20

Post by duffrecords »

I can't get the battery temperature graphs to work in Cacti 0.8.8a.

Code: Select all

root@controller:~# php -q /var/www/cacti/scripts/ss_poweralert_ups_status.php hostname.redacted.com:2:tlremote:::::::3664:500 get batterytemperature 1
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0
FATAL: Unable to locate requested data in SNMP
The value is there in the MIB when I use snmpwalk, though.

Code: Select all

mib-2.33.1.1.1.0 = STRING: "Tripp Lite"
mib-2.33.1.1.2.0 = STRING: "TRIPP LITE SMART 1500CRMXL"
mib-2.33.1.1.3.0 = STRING: "13"
mib-2.33.1.1.4.0 = STRING: "12.04.0055"
mib-2.33.1.1.5.0 = STRING: "Device 1"
mib-2.33.1.1.6.0 = ""
mib-2.33.1.2.1.0 = INTEGER: 0
mib-2.33.1.2.2.0 = INTEGER: 0
mib-2.33.1.2.3.0 = INTEGER: 27
mib-2.33.1.2.4.0 = INTEGER: 100
mib-2.33.1.2.5.0 = INTEGER: 54
mib-2.33.1.2.6.0 = INTEGER: 0
mib-2.33.1.2.7.0 = INTEGER: 40
mib-2.33.1.3.1.0 = INTEGER: 0
mib-2.33.1.3.2.0 = INTEGER: 1
mib-2.33.1.3.3.1.1.1 = INTEGER: 1
mib-2.33.1.3.3.1.1.2 = INTEGER: 2
mib-2.33.1.3.3.1.2.1 = INTEGER: 0
mib-2.33.1.3.3.1.2.2 = INTEGER: 0
mib-2.33.1.3.3.1.3.1 = INTEGER: 0
mib-2.33.1.3.3.1.3.2 = INTEGER: 0
mib-2.33.1.3.3.1.4.1 = INTEGER: 0
mib-2.33.1.3.3.1.4.2 = INTEGER: 0
mib-2.33.1.3.3.1.5.1 = INTEGER: 0
mib-2.33.1.3.3.1.5.2 = INTEGER: 0
mib-2.33.1.4.1.0 = INTEGER: 3
mib-2.33.1.4.2.0 = INTEGER: 59
mib-2.33.1.4.3.0 = INTEGER: 1
mib-2.33.1.4.4.1.1.1 = INTEGER: 1
mib-2.33.1.4.4.1.1.2 = INTEGER: 2
mib-2.33.1.4.4.1.2.1 = INTEGER: 0
mib-2.33.1.4.4.1.2.2 = INTEGER: 0
mib-2.33.1.4.4.1.3.1 = INTEGER: 0
mib-2.33.1.4.4.1.3.2 = INTEGER: 0
mib-2.33.1.4.4.1.4.1 = INTEGER: 0
mib-2.33.1.4.4.1.4.2 = INTEGER: 0
mib-2.33.1.4.4.1.5.1 = INTEGER: 0
mib-2.33.1.4.4.1.5.2 = INTEGER: 0
mib-2.33.1.5.1.0 = INTEGER: 0
mib-2.33.1.5.2.0 = INTEGER: 0
mib-2.33.1.6.1.0 = INTEGER: 0
mib-2.74.1.1.1.0 = INTEGER: 5
mib-2.74.1.1.2.0 = INTEGER: 1
mib-2.74.1.2.1.0 = Timeticks: (0) 0:00:00.00
mib-2.74.1.3.1.0 = Timeticks: (0) 0:00:00.00
mib-2.74.1.4.1.0 = Timeticks: (0) 0:00:00.00
User avatar
classen
Cacti User
Posts: 116
Joined: Thu Nov 12, 2009 3:07 pm

Re: TrippLite PowerAlert UPS stats -- update November 11, 20

Post by classen »

anyone get this working with cacti 0.8.8a?

Also has anyone used this script to query a Tripp-Lite SNMPWEBCARD ?

Cheers
rambest
Posts: 4
Joined: Tue Jul 09, 2013 8:03 am

Re: TrippLite PowerAlert UPS stats -- update November 11, 20

Post by rambest »

Hello guys,
Could you share with oids to graph temperature and humidity form the picture?
Thank you in advance.
Attachments
envirosense.jpg
envirosense.jpg (77.4 KiB) Viewed 2777 times
rambest
Posts: 4
Joined: Tue Jul 09, 2013 8:03 am

Re: TrippLite PowerAlert UPS stats -- update November 11, 20

Post by rambest »

Hello guys,
On older f/w version script worked fine.
i have updated f/w on my ups and after that the script ouput returns this:(
php ss_poweralert_ups_status.php ipaddr:2:community:::::::: query upsname
FATAL: No UPS devices were returned from SNMP

Seems Erick A.Hall does'nt support this script already:(
How can i force this script work on new f/w of tripplite ups:
Thx in advance.
Attachments
tripp.jpg
tripp.jpg (166.18 KiB) Viewed 2476 times
Cornel
Posts: 49
Joined: Fri Jun 27, 2014 7:19 am

Re:

Post by Cornel »

ehall wrote:I uploaded a new version that should work with the SNMP APIs in 0.8.6 and 0.8.7 alike, added the ability to probe for battery temperature, and also cleaned up some of the code

As for the question about working directly with the UPS SNMP-Web card, yes it will but you have to change the port number in the data template to 161. Alternatively, create a new data template that is specifically for use with the SNMP cards, but keep the data source names the same, and you will be able to use the graphs between both the software and the cards.

Does anyone know how I can do this? I know its an old thread, but I just tried using this template and Im using the WebCARD, and I want to change the data template from whatever it is, to 161.
Thanks...
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests