Go Down

Topic: Agentuino - A lightweight SNMP Agent (Read 21 times) previous topic - next topic

Spandy19

Hey Chris

Thanks heaps for the detailed explanation :)
I am configuring my device now..I think I should be able to get my results graphed.I will post it, when I get it working..

Cheers

Spandy19

Hey Chris

I followed your instructions, still I am getting the below error..
any tips on how to solve the error..:( plz advice..

Code: [Select]

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='MCR Sensor - Temperature' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/28/1020.rrd":snmp_oid:AVERAGE \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MIN:"Minimum%8.2lf %s"
RRDTool Says:
ERROR: opening '/var/lib/cacti/rra/28/1020.rrd': No such file or directory


and also "Graph Item" (average) under "Graph Template" its "GPRINT type " is it load average or and be normal ??
Did you create your own Gprint type ??
hope I dint confuse you with all the "G"z ..thank you for ur help :)

Spandy19

itz working ..it is working :D
thankz heaps chris

Spandy19

Well It wont draw the points on graph.. It is receiving the info as seen below in the image..
Can't figure out why :s plz help!!


yesyes

Well, that's progress...
Not sure why the graphs don't show...

Can you please post a few screenshots of your cacti config? Specifically  a screenshot of the page shown on the 5th picture in my post (the one with all the screenshots). Then, on that same page click on the first item in the list on the top (should be the graph item) and post another screenshot of that page.
Chris

Location: Berkshire, UK
My Astro and DIY projects website: http://yesyes.info/

Spandy19

I not really sure how to post screen shots..I am posting images..
Graph template screen shots (image graph1 and graph2)
Item #1 current reading (image graph3)
Humidity graph setting (image graph 5, graph6)
Temperature graph setting (image graph7,graph8)

Spandy19

and the rest of the images

Spandy19

I really appreciate your help Chris :)

Spandy19

latest update..Y axis limits are realistic now! (0 to 100)

yesyes

I think the problem is shown on the first screenshot. You only have GPRINT items in your graph template. These are text prints. You need to add an AREA item (filled graph). See the 2nd and 3rd (from bottom) of my screenshots...
Chris

Location: Berkshire, UK
My Astro and DIY projects website: http://yesyes.info/

Spandy19

Sweet!!!! thnk u :) (dnt know how I missed that)
Have good day!!

Cheers

yesyes

I take it that means it's working? ;-) Or have you not tried yet?
Chris

Location: Berkshire, UK
My Astro and DIY projects website: http://yesyes.info/

Spandy19

Update.. There is grab in data cause I disconnected the sensor.
I was looking at your watchdog circuit very useful.. :)I am facing the same prob..SNMP gets stuck with unknow packet. That's my next step...

Spandy19

oh yes itz working ..Yaaayeee and big HI5 to u :)

yesyes

Great. It's working .. ;-)

I just realised that we were discussing this in the Agentuino thread. I hope LAVco doesn't mind... ;-)
Chris

Location: Berkshire, UK
My Astro and DIY projects website: http://yesyes.info/

Go Up