Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Liebert Air Conditioners
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
drose12



Joined: 10 Mar 2005
Posts: 31

PostPosted: Thu Mar 10, 2005 11:54 am    Post subject: Liebert Air Conditioners Reply with quote

We have a couple Liebert 10 ton AC's with the SNMP cards in them, so I thought I'd take a stab at creating a couple of graphs to monitor temperature and humidity. Hope I've exported this correctly.


temperature.JPG
 Description:
Temperature pic.
 Filesize:  136.19 KB
 Viewed:  17282 Time(s)

temperature.JPG



humidity.JPG
 Description:
Humidity pic.
 Filesize:  136.33 KB
 Viewed:  17282 Time(s)

humidity.JPG



liebert.zip
 Description:
XML Files.

Download
 Filename:  liebert.zip
 Filesize:  7.01 KB
 Downloaded:  839 Time(s)

Back to top
csimet



Joined: 11 Mar 2005
Posts: 4
Location: Buffalo, NY, USA

PostPosted: Sat Mar 12, 2005 1:05 pm    Post subject: Cool & Download issues? Reply with quote

Very nice drose12... I'm looking for this exact method to monitor my units.

Are there issues with downloads from this forum? Over the past few days, when I click any of the file dowloads, they fail (I only get the download.php file).
Back to top
Linzer



Joined: 24 Sep 2002
Posts: 31

PostPosted: Mon Mar 14, 2005 12:15 pm    Post subject: Re: Cool & Download issues? Reply with quote

csimet wrote:
Very nice drose12... I'm looking for this exact method to monitor my units.

Are there issues with downloads from this forum? Over the past few days, when I click any of the file dowloads, they fail (I only get the download.php file).


My guess is you are using Firefox to view this forum. For whatever reason when I download anything in this forum (other than zip files) Firefox has problems with the name. Either rename to what the poster saved the file as after downloading or when prompted for where to save the file.

HTH
Back to top
csimet



Joined: 11 Mar 2005
Posts: 4
Location: Buffalo, NY, USA

PostPosted: Mon Mar 14, 2005 3:06 pm    Post subject: Re: Cool & Download issues? Reply with quote

Linzer wrote:


My guess is you are using Firefox to view this forum. For whatever reason when I download anything in this forum (other than zip files) Firefox has problems with the name. Either rename to what the poster saved the file as after downloading or when prompted for where to save the file.

HTH


Nope... I'm using IE6 (ick). I'm able to grab files from other posts on these forums. I think the file is bad or missing from the download area.

Tx.
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5694
Location: Michigan, USA

PostPosted: Mon Mar 14, 2005 3:48 pm    Post subject: Reply with quote

I was able to download and extract it just fine.
Back to top
csimet



Joined: 11 Mar 2005
Posts: 4
Location: Buffalo, NY, USA

PostPosted: Tue Mar 15, 2005 9:04 am    Post subject: Reply with quote

Most odd. Fired up Netscape and it worked. %#@^$% IE!

It was just funny that I could download files using IE from other topics. Oh well. Sorry and thanks for the help.
Back to top
sazan1978



Joined: 26 Aug 2005
Posts: 1

PostPosted: Fri Aug 26, 2005 3:25 pm    Post subject: Liebert AC temperature template in Fahrenheit degrees Reply with quote

Great templates! I have made some OID modifications to display the temperatures in F instead of C.


cacti_graph_template_liebert_ac_temperature-F.xml
 Description:
Liebert AC temperature - F degrees

Download
 Filename:  cacti_graph_template_liebert_ac_temperature-F.xml
 Filesize:  25.09 KB
 Downloaded:  629 Time(s)

Back to top
csimet



Joined: 11 Mar 2005
Posts: 4
Location: Buffalo, NY, USA

PostPosted: Wed Aug 31, 2005 12:08 pm    Post subject: Reply with quote

Cool... Thanks!
Back to top
jeffmeden



Joined: 10 Mar 2004
Posts: 14
Location: Columbus, OH

PostPosted: Tue Nov 22, 2005 1:04 pm    Post subject: Reply with quote

Nice work. It should be noted that the OIDs you have the 'thresholds' pointing to are the alarm high/low points, which can actually be nonexistent (return 0) if the alarm is disabled. If you see this behavior, that's why. I am working on a way for it to display the +/- tolerance which is the more commonly thought of 'setpoint' to make it more understandable.

edit/attach: I completed what i think is an improved template based on the work above. It includes setpoint indication, and zooms the temperature graph to exclude 0-40deg. I have some ideas to make it clearer but would appreciate feedback.



cacti_host_template_liebert_ac.xml
 Description:
here is an improved template (Based in degF)

Download
 Filename:  cacti_host_template_liebert_ac.xml
 Filesize:  65.14 KB
 Downloaded:  881 Time(s)

Back to top
aragones



Joined: 04 Sep 2007
Posts: 13

PostPosted: Tue Sep 04, 2007 2:46 pm    Post subject: Bad RPN call? Reply with quote

Hey

I used the last XML for adding lieberts to my Cacti and I get this when I debug the graph since it never gets created. Any ideas?

RRDTool Says:

ERROR: invalid rpn expression in: b,h,+


Quote:
Cacti Version - 0.8.6i
Plugin Architecture - 1.0
Poller Type - Cactid v0.8.6i
Server Info - Linux 2.6.9-42.0.3.EL
Web Server - Apache/2.0.52 (CentOS)
PHP - 4.3.9
PHP Extensions - yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, mysql, snmp, eAccelerator
MySQL - 4.1.20
RRDTool - 1.2.15
SNMP - 5.1.2
Plugins
    PHP Network Weathermap (weathermap - v0.82)
    Thresholds (thold - v0.3.0)
    Device Monitoring (monitor - v0.7)
    Network Discovery (discovery - v0.6)
    Network Tools (tools - v0.2)
    Syslog Monitoring (haloe - v0.4)
    mactrack
    RRD Cleaner (rrdclean - v1.1)
    Update Checker (update - v0.3)
    FlowView (flowview - v0.3)
    Host Info (hostinfo - v0.1)
    Error Images (errorimage - v0.1)
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 711
Location: Psychic Amish Network Administrator

PostPosted: Tue Sep 04, 2007 8:06 pm    Post subject: Reply with quote

Check your CDEF's, I'm not familiar with this particular template, but that error is telling you there is something wrong in a CDEF.
Back to top
aragones



Joined: 04 Sep 2007
Posts: 13

PostPosted: Wed Sep 05, 2007 9:35 am    Post subject: I did :) Reply with quote

Im somewhat of a newbie to cacti but I checked the CDEF and found this one

cdef=CURRENT_DATA_SOURCE,h,+

and the graph info looks like this below

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Liebert AC#1 - Humidity" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=100 \
--lower-limit=0 \
--vertical-label="Percent" \
--slope-mode \
DEF:a="/var/www/html/rra/liebert_ac1_humidity_158.rrd":humidity:AVERAGE \
DEF:b="/var/www/html/rra/liebert_ac1_humidity_tol_164.rrd":humidity_tol:AVERAGE \
DEF:c="/var/www/html/rra/liebert_ac1_humidity_high_t_160.rrd":humidity_high_t:AVERAGE \
DEF:d="/var/www/html/rra/liebert_ac1_humidity_low_t_162.rrd":humidity_low_t:AVERAGE \
DEF:e="/var/www/html/rra/liebert_ac1_liebert_humidifying_161.rrd":liebert_humidifying:AVERAGE \
DEF:f="/var/www/html/rra/liebert_ac1_liebert_dehumidify_159.rrd":liebert_dehumidify:AVERAGE \
DEF:g="/var/www/html/rra/liebert_ac1_humidity_setpt_163.rrd":humidity_setpt:AVERAGE \
CDEF:cdefe=b,h,+ \
CDEF:cdefi=h,b,- \
CDEF:cdefbc=e,2,-,-43,* \
CDEF:cdefbd=f,2,-,-43,* \
LINE3:a#157419:"Humidity" \
GPRINT:a:LAST:" Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf\n" \
LINE1:cdefe#FF0000:"High Set" \
GPRINT:cdefe:LAST:" %8.0lf" \
LINE2:c#FF0000:"High Alarm" \
GPRINT:c:LAST:" %8.0lf\n" \
LINE1:cdefi#0000FF:"Low Set" \
GPRINT:cdefi:LAST:" %8.0lf" \
LINE2:d#0000FF:"Low Alarm" \
GPRINT:d:LAST:" %8.0lf\n" \
AREA:cdefbc#0000FF:"Humidifying" \
AREA:cdefbd#55D6D3:"DeHumidifying\n":STACK \
LINE1:g:""

RRDTool Says:

ERROR: invalid rpn expression in: b,h,+


I changed quite a few things around and it still doesnt work, so im not sure what to try next, any ideas?
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 9568
Location: WA, USA

PostPosted: Wed Sep 05, 2007 10:53 am    Post subject: Reply with quote

DEF[inition] h doesn't exist, hence the error with that CDEF. You'll get an error for h,b,- next.
Back to top
aragones



Joined: 04 Sep 2007
Posts: 13

PostPosted: Wed Sep 05, 2007 11:47 am    Post subject: throw me another bone? Reply with quote

All righty, that seemed obvious now should I be looking @ the graph template to add the new DEF? im going over the manuals and howto's so I can make myself more familiar with how Cacti works, but havent found anything related to this yet
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 9568
Location: WA, USA

PostPosted: Wed Sep 05, 2007 12:19 pm    Post subject: Reply with quote

Check out the graph template. It's possible its using a hand-coded CDEF instead of one built in. If not, then edit the existing CDEF.

I wonder what that additional DEF h pointed to for data...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group