I'm trying to get SNMP data that returns a good value when "snmpget" is run. But Cacti/RRDtools continues to show Unknown/NAN
Setup is like:
/usr/local/rrdtool-1.0.38/bin/rrdtool create \
/var/www/html/phpwebsite/cacti/rra/jbr_usrs.rrd \
--step 300 \
DS:jbr_usrs:GAUGE:600:0:1 \
RRA:LAST:0.5:1:600 \
INTERNAL: [127.0.0.1/private] OID: [.1.3.6.1.4.1.2021.2789.51.101.1]
/usr/local/rrdtool-1.0.38/bin/rrdtool update /var/www/html/phpwebsite/cacti/rra/jbr_usrs.rrd --template jbr_usrs N:U
Running the scripts/snmp.pl file returns the expected value.
Any help appreciated.
get snmp data return Unknown
Moderators: Developers, Moderators
Re: get snmp data return Unknown
I'll guess from the above that your problem is the "maximum value" for the datasource. At the moment its set to 1 so any value above 1 won't be recorded. Change it to a number bigger than the maximum value your expecting to record (remember to tick the "update changes in .rrd file" box when you save the change) and see if that cures the problem.jimithing wrote: DS:jbr_usrs:GAUGE:600:0:1 \
Who is online
Users browsing this forum: No registered users and 3 guests