NAN for 1 oid but can get the rest of the device

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
lclark1192
Posts: 3
Joined: Tue May 25, 2010 10:50 am

NAN for 1 oid but can get the rest of the device

Post by lclark1192 »

Hello,

Thanks to all the devs for their great work on cacti, its really useful for me.

I am having a problem with trying to get a specific oid graphed from a Proxim Tsunami QuickBride 8100. I would like to graph the SNR of the radio, and I have continuously come up with being able to graph everything else I need to graph on the device except for the noise level. I get a NAN. This should return a negative value. I can graph the signal level which also returns a negative value, and all of the interface stats but nothing from this one oid.

I can snmpwalk from my cacti host with the proper creds (using snmp v3, i have tried v2 as well) and it will return the value i would expect. I can manually insert a value into the rrd file and it will show up on my graphs in cacti. So it looks to me like

A. I can get the value from the device
B. My graphs and templates are working as well

Im not sure where to go from here. I am running the latest versions of cacti and rrd on debian etch. Any help or suggestions of things to try would be great.

Thanks!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please follow help provided by 2nd link of my sig.
I suppose, that the data is retrieved from the device and that everything looks fine.
Try to get the related "rrdtool update" statement and run that from cli. Tell your findings
R.
lclark1192
Posts: 3
Joined: Tue May 25, 2010 10:50 am

Post by lclark1192 »

Hello,

I turned debugging on in the logs and I found this:

06/02/2010 08:12:06 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool-1.4.3/bin/rrdtool update /usr/share/cacti/site/rra/radio_b_snrnoise_664.rrd --template SNRNoise 1275484326:U
06/02/2010 08:13:06 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool-1.4.3/bin/rrdtool update /usr/share/cacti/site/rra/radio_b_srnsignal_665.rrd --template SRNSignal 1275484385:-34

My first thought was that the minimum wasn't set, but this is the setup for the noise rrd:

filename = "/usr/share/cacti/site/rra/radio_b_snrnoise_664.rrd"
rrd_version = "0003"
step = 300
last_update = 1275485825
header_size = 3812
ds[SNRNoise].index = 0
ds[SNRNoise].type = "GAUGE"
ds[SNRNoise].minimal_heartbeat = 600
ds[SNRNoise].min = -1.0200000000e+02
ds[SNRNoise].max = NaN
ds[SNRNoise].last_ds = "U"
ds[SNRNoise].value = NaN
ds[SNRNoise].unknown_sec = 125


If i try and update manually it all goes through properly and will show up on the graph:
/usr/share/cacti/site/log# /usr/bin/rrdtool-1.4.3/bin/rrdtool updatev /usr/share/cacti/site/rra/radio_b_snrnoise_664.rrd --template SNRNoise N:-75
return_value = 0

I am not sure where to look next any help would be appreciated
Thanks,
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

lclark1192 wrote:06/02/2010 08:12:06 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool-1.4.3/bin/rrdtool update /usr/share/cacti/site/rra/radio_b_snrnoise_664.rrd --template SNRNoise 1275484326:U
This one is bad. Does the script return proper data when called by cacti (please see the log, it is not ok to only run the script manually)
R.
lclark1192
Posts: 3
Joined: Tue May 25, 2010 10:50 am

Post by lclark1192 »

Hi Reinhard,

Im not sure what you want me to do next. The line i saw:

06/02/2010 08:12:06 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool-1.4.3/bin/rrdtool update /usr/share/cacti/site/rra/radio_b_snrnoise_664.rrd --template SNRNoise 1275484326:U

Is from the cacti log. Is there another way I can get it check?

Thanks for your help,
-lclark
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There must be a script or SNMP get/walk that fetches data for that rrd file. I assume that there'S an error while doing so. Please search the log before that rrd update entry to find the result.
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests