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    


Ipoman 8000 PDU

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Trans-IX B.V.



Joined: 12 Mar 2008
Posts: 5
Location: The Netherlands

PostPosted: Wed Mar 12, 2008 6:57 pm    Post subject: Ipoman 8000 PDU Reply with quote

Dear users,

We recently bought a Ipoman 8000 PDU:
http://www.ingrasys.com/product/pdu/pd_pduI_1.htm

This PDU also counts the ampere wich the connected server is using.
These values can also be captured with SNMP.

I already found the right OID's for creating the graphs and the graphs are also working perfect.

But the values on the graph are not correct.

I also tried to make a CDEF and dividing with 1000:

Custom String: 1000
Operator: /

But that isn't giving the right values as you can see on the attached screenshot (with the CDEF enabled mentioned above).

In the legend you can see the values wich are delivered through SNMP, for example:

367.28

I want the y-axis and the legend to be: 0.36 in stead of 367.28

Is there a way to fix this?

Any help would be appreciated!

With kind regards,

Mark

Trans-IX B.V.



ipoman8000 .gif
 Description:
Without CDEF (CDEF: none)
 Filesize:  16.32 KB
 Viewed:  1396 Time(s)

ipoman8000 .gif



ipoman8000.gif
 Description:
With CDEF dividing with 1000
 Filesize:  9.9 KB
 Viewed:  1396 Time(s)

ipoman8000.gif


Back to top
Trans-IX B.V.



Joined: 12 Mar 2008
Posts: 5
Location: The Netherlands

PostPosted: Wed Mar 19, 2008 8:49 am    Post subject: Reply with quote

Here is the Graph Debug Mode output:

Code:
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ipoman01 - Outlet E" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
--vertical-label="Ampere" \
--slope-mode \
--font TITLE:8: \
--font AXIS:7: \
--font LEGEND:7: \
--font UNIT:7: \
DEF:a="/var/www/apache2-default/cacti/rra/ipoman01_outlete_268.rrd":OutletE:MAX \
DEF:b="/var/www/apache2-default/cacti/rra/ipoman01_outlete_268.rrd":OutletE:LAST \
DEF:c="/var/www/apache2-default/cacti/rra/ipoman01_outlete_268.rrd":OutletE:MIN \
LINE1:a#4444FFE5:"Outlet E"  \
GPRINT:b:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

OK

And here is the Data Source Debug Mode output:

Code:
Data Source Debug

/usr/bin/rrdtool create \
/var/www/apache2-default/cacti/rra/ipoman01_outlete_260.rrd \
--step 300  \
DS:OutletE:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

Isn't there a way to move the comma?
I want the y-axis and the legend to be: 0.36 in stead of 367.28

Thanks
Back to top
Burnout



Joined: 28 Nov 2005
Posts: 29

PostPosted: Sat Apr 05, 2008 1:16 pm    Post subject: Reply with quote

Hello Trans-IX B.V.,

Can you please upload the full template? I'll try to help you with this stuff.

Regards
Back to top
Burnout



Joined: 28 Nov 2005
Posts: 29

PostPosted: Sat Apr 12, 2008 4:30 am    Post subject: Reply with quote

If there are other users who have scripts/expertise, please give feedback.
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
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group