Pages: 1 2 [3] 4   Go Down
Author Topic: Agentuino - A lightweight SNMP Agent  (Read 19249 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey Chris

Thanks heaps for the detailed explanation smiley
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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey Chris

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

Code:
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 smiley
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

itz working ..it is working smiley-grin
thankz heaps chris
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!!



* graph.JPG (127.98 KB, 1024x768 - viewed 32 times.)
Logged

Berkshire, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 120
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Chris

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

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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)


* graph1.JPG (156.64 KB, 1024x768 - viewed 28 times.)

* graph2.JPG (127.19 KB, 1024x768 - viewed 23 times.)

* graph3.JPG (2304.05 KB, 1024x768 - viewed 20 times.)

* graph4.JPG (111.87 KB, 1024x768 - viewed 19 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

and the rest of the images


* graph5.JPG (177.87 KB, 1024x768 - viewed 18 times.)

* graph6.JPG (135.93 KB, 1024x768 - viewed 23 times.)

* graph7.JPG (175.99 KB, 1024x768 - viewed 22 times.)

* graph8.JPG (134.94 KB, 1024x768 - viewed 22 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I really appreciate your help Chris smiley
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


* graph9.JPG (132.37 KB, 1024x768 - viewed 25 times.)
Logged

Berkshire, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 120
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

Chris

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

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Cheers
Logged

Berkshire, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 120
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Chris

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

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...


* graph10.JPG (128.85 KB, 1024x768 - viewed 28 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

oh yes itz working ..Yaaayeee and big HI5 to u smiley
Logged

Berkshire, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 120
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Great. It's working .. ;-)

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

Chris

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

Pages: 1 2 [3] 4   Go Up
Jump to: