-nan values appear on graph...but snmpget works
Moderators: Developers, Moderators
-nan values appear on graph...but snmpget works
From the command line of a 0.8.7e-2ubuntu0.2 system, I can issue the following command and get snmp info:
snmpget -v3 -u user -l authPriv -a MD5 -A password -x DES -X password 1.2.3.4 1.3.6.1.4.1.164.3.1.6.7.10.1.4.8192
and the information gathered is as follows:
SNMPv2-SMI::enterprises.164.3.1.6.7.10.1.4.8192 = INTEGER: 550000
However, I am not getting any information on my Cacti graph. The RRD file for the particular graph is in cactipath/rra with the correct permissions. See the attached Cacti graph. My data template is using the exact same OID, except for the fact that Cacti precedes the OID with a . (period).
I can find nothing helpful in the log files...
I also set the poller logging to debug and then ran the command: php -q cmd.php 35, 35 being the site ID. Nothing was posted to standout. I also went to the specific graph in question (via Graph Management) and turned on debug, here is what was printed out:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Site - Max Jitter Buffer Deviation' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/rra/site_maxjitter_145.rrd":maxjitter:AVERAGE \
LINE1:a#00FF00FF:" max deviation from the center of the buffer (in msec) for the cur. int.\n" \
GPRINTLAST:"Current%8.2lf %s" \
GPRINTAVERAGE:"Average%8.2lf %s" \
GPRINTMAX:"Maximum%8.2lf %s"
RRDTool Says:
OK
All other graphs are working properly for devices at this site just not graphs for this device. However, snmp is working for this device, as I can get the snmp values from snmpget at the command line. Very puzzling...
snmpget -v3 -u user -l authPriv -a MD5 -A password -x DES -X password 1.2.3.4 1.3.6.1.4.1.164.3.1.6.7.10.1.4.8192
and the information gathered is as follows:
SNMPv2-SMI::enterprises.164.3.1.6.7.10.1.4.8192 = INTEGER: 550000
However, I am not getting any information on my Cacti graph. The RRD file for the particular graph is in cactipath/rra with the correct permissions. See the attached Cacti graph. My data template is using the exact same OID, except for the fact that Cacti precedes the OID with a . (period).
I can find nothing helpful in the log files...
I also set the poller logging to debug and then ran the command: php -q cmd.php 35, 35 being the site ID. Nothing was posted to standout. I also went to the specific graph in question (via Graph Management) and turned on debug, here is what was printed out:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Site - Max Jitter Buffer Deviation' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/rra/site_maxjitter_145.rrd":maxjitter:AVERAGE \
LINE1:a#00FF00FF:" max deviation from the center of the buffer (in msec) for the cur. int.\n" \
GPRINTLAST:"Current%8.2lf %s" \
GPRINTAVERAGE:"Average%8.2lf %s" \
GPRINTMAX:"Maximum%8.2lf %s"
RRDTool Says:
OK
All other graphs are working properly for devices at this site just not graphs for this device. However, snmp is working for this device, as I can get the snmp values from snmpget at the command line. Very puzzling...
- Attachments
-
- Screenshot-2012-03-20_15.49.03.png (10.48 KiB) Viewed 2876 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: -nan values appear on graph...but snmpget works
Please see 2nd link of my sig as a start. Debugging with cmd.php does not provide as much information as spine does. So in case you're using spine, please use that for testing.
You may note whether you're using php-snmp (see Cacti's about page)
R.
You may note whether you're using php-snmp (see Cacti's about page)
R.
Re: -nan values appear on graph...but snmpget works
Thanks, Gandalf
I decided to install cacti-spine on my ubuntu box. It installed itself in /etc/cacti/spine. I then edited the spine.conf file as follows:
root@viclanmon /etc/cacti# cat spine.conf
DB_Host 127.0.0.1
DB_Database cacti
DB_User cacti
DB_Pass fakepasswd
DB_Port 3306
I then went to the Poller tab in the Gui Settings config and changed the poller from cmd.php to spine. I then restarted cron and issued a "php poller.php" command from the cacti directory and it worked as expected.
I then issued the following command: spine --verbosity=5 -H=35. Here is the output...
SPINE: Using spine config file [spine.conf]
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The path_php_server variable is /usr/share/cacti/script_server.php
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /var/log/cacti/cacti.log
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 2
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 400
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 0
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 0
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The threads variable is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The script timeout is 25
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: Host List to be polled='35', TotalPHPScripts='0'
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 10
03/21/2012 01:25:09 PM - SPINE: Poller[0] Version 0.8.7e starting
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
03/21/2012 01:25:09 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
03/21/2012 01:25:09 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DEBUG: ICMP Host Alive, Try Count:1, Time:32.5019 ms
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] PING Result: ICMP: Host is Alive
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] SNMP Result: Host responded to SNMP
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] RECACHE: Processing 1 items in the auto reindex cache for 'fakeIP'
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] NOTE: There are '4' Polling Items for this Host
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[144] SNMP: v3: fakeIP, dsname: revelsitebufover, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.3.8192, value: 0
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[145] SNMP: v3: fakeIP, dsname: revelsitemaxjitter, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.4.8192, value: 4000000
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[143] SNMP: v3: fakeIP, dsname: revelsitebufunder, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.2.8192, value: 22
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[142] SNMP: v3: fakeIP, dsname: revelsiteseqerr, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.1.8192, value: 27
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: Thread Cleanup Complete
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: PHP Script Server Pipes Closed
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: Allocated Variable Memory Freed
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: MYSQL Free & Close Completed
03/21/2012 01:25:10 PM - SPINE: Poller[0] Time: 0.5825 s, Threads: 1, Hosts:
What is interesting is that I was getting good graphs from another site that has an IPMUX. But now, I have a bigger problem, all graphs have stopped since I switched to spine...ok, resolved...I had to add the path to spine on the Paths tab in the GUI (/usr/sbin/spine).
I decided to install cacti-spine on my ubuntu box. It installed itself in /etc/cacti/spine. I then edited the spine.conf file as follows:
root@viclanmon /etc/cacti# cat spine.conf
DB_Host 127.0.0.1
DB_Database cacti
DB_User cacti
DB_Pass fakepasswd
DB_Port 3306
I then went to the Poller tab in the Gui Settings config and changed the poller from cmd.php to spine. I then restarted cron and issued a "php poller.php" command from the cacti directory and it worked as expected.
I then issued the following command: spine --verbosity=5 -H=35. Here is the output...
SPINE: Using spine config file [spine.conf]
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The path_php_server variable is /usr/share/cacti/script_server.php
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /var/log/cacti/cacti.log
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 2
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 400
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 0
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 0
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The threads variable is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The script timeout is 25
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: Host List to be polled='35', TotalPHPScripts='0'
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 10
03/21/2012 01:25:09 PM - SPINE: Poller[0] Version 0.8.7e starting
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
03/21/2012 01:25:09 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
03/21/2012 01:25:09 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
03/21/2012 01:25:09 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DEBUG: ICMP Host Alive, Try Count:1, Time:32.5019 ms
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] PING Result: ICMP: Host is Alive
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] SNMP Result: Host responded to SNMP
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] RECACHE: Processing 1 items in the auto reindex cache for 'fakeIP'
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] NOTE: There are '4' Polling Items for this Host
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[144] SNMP: v3: fakeIP, dsname: revelsitebufover, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.3.8192, value: 0
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[145] SNMP: v3: fakeIP, dsname: revelsitemaxjitter, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.4.8192, value: 4000000
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[143] SNMP: v3: fakeIP, dsname: revelsitebufunder, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.2.8192, value: 22
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[142] SNMP: v3: fakeIP, dsname: revelsiteseqerr, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.1.8192, value: 27
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: Thread Cleanup Complete
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: PHP Script Server Pipes Closed
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: Allocated Variable Memory Freed
03/21/2012 01:25:10 PM - SPINE: Poller[0] DEBUG: MYSQL Free & Close Completed
03/21/2012 01:25:10 PM - SPINE: Poller[0] Time: 0.5825 s, Threads: 1, Hosts:
What is interesting is that I was getting good graphs from another site that has an IPMUX. But now, I have a bigger problem, all graphs have stopped since I switched to spine...ok, resolved...I had to add the path to spine on the Paths tab in the GUI (/usr/sbin/spine).
Re: -nan values appear on graph...but snmpget works
Ugh, I was mistaken only some graphs are updating after switching to spine, the majority are not...
I would like to get spine working, is there anything else that needs to be configured:
1) Path and poller setting choice using the GUI.
2) /etc/cacti/spine.conf
DB_Host 127.0.0.1
DB_Database cacti
DB_User cacti
DB_Pass pass
DB_Port 3306
DB_PreG 1
On the GUI, the device lists shows that all devices that are not posting data on the graphs as "down". Same thing for the Monitor tab...obviously these devices are online or I would have bigger issues to address.
I would like to get spine working, is there anything else that needs to be configured:
1) Path and poller setting choice using the GUI.
2) /etc/cacti/spine.conf
DB_Host 127.0.0.1
DB_Database cacti
DB_User cacti
DB_Pass pass
DB_Port 3306
DB_PreG 1
On the GUI, the device lists shows that all devices that are not posting data on the graphs as "down". Same thing for the Monitor tab...obviously these devices are online or I would have bigger issues to address.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: -nan values appear on graph...but snmpget works
There's no _need_ to use spine by now. Of course, it is not expected to drop data that cmd.php accepts. But that's a different issue.mgdkacti wrote:03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[144] SNMP: v3: fakeIP, dsname: revelsitebufover, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.3.8192, value: 0
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[145] SNMP: v3: fakeIP, dsname: revelsitemaxjitter, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.4.8192, value: 4000000
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[143] SNMP: v3: fakeIP, dsname: revelsitebufunder, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.2.8192, value: 22
03/21/2012 01:25:10 PM - SPINE: Poller[0] Host[35] DS[142] SNMP: v3: fakeIP, dsname: revelsiteseqerr, oid: .1.3.6.1.4.1.164.3.1.6.7.10.1.1.8192, value: 27
What we learn from the above is, that Cacti is able to fecth data from the target host.
As 2nd link of my sig suggests, the next step would be to verify that rrd file update is working well. I fear we might the the "max DS" issue here ...
Please see 2nd link of my sig to debug this very step
R.
Re: -nan values appear on graph...but snmpget works
Runninig the rrdtool tool from the command line was quite helpful. Somehow, my GUI data source names were not equal to the DS names produced when I issued the command: rrdtool info name.rrd. I tried editing the info on the GUI for the particular device, but I kept on getting no info on the graphs. So, I ended up removing all data templates, data sources, and graph templates for this device. I then started with one OID for the device, but I am still getting "-nan" values. Please see the graph...
BTW, my procedure is as follows: Step 1, create a Data Template for the unique OID. Step 2, create a Data Source based on the Data Template. Step 3: Create a Graph Template based on the Data Source. Step 4: Add the Graph Template to the Device.
Here is the output from the Graph Template:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Fraser Lake IPMUX Buffer Underflows' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/rra/fraser_lake_rad_frlkipmuxbufund_229.rrd":frlkipmuxbufund:AVERAGE \
LINE1:a#00FF00FF:"#secs the recv (Eth2TDM) buff underflows in curr. int.\n" \
GPRINTAVERAGE:"Average%8.2lf %s" \
GPRINTMAX:"Maximum%8.2lf %s" \
GPRINTLAST:"Last%8.2lf %s"
RRDTool Says:
OK
Here is the output from the Data Sourc Debug:
Data Source Debug
/usr/bin/rrdtool create \
/usr/share/cacti/rra/fraser_lake_rad_frlkipmuxbufund_229.rrd \
--step 300 \
DS:frlkipmuxbufund:GAUGE:600:0:100000 \
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
And, finally here is the output from rrdtool info...note I set min to 0 and max to 100000.
root@cacti/rra# rrdtool info fraser_lake_rad_frlkipmuxbufund_229.rrd
filename = "fraser_lake_rad_frlkipmuxbufund_229.rrd"
rrd_version = "0003"
step = 300
last_update = 1332435556
ds[frlkipmuxbufund].type = "GAUGE"
ds[frlkipmuxbufund].minimal_heartbeat = 600
ds[frlkipmuxbufund].min = 0.0000000000e+00
ds[frlkipmuxbufund].max = 1.0000000000e+05
ds[frlkipmuxbufund].last_ds = "U"
ds[frlkipmuxbufund].value = 0.0000000000e+00
ds[frlkipmuxbufund].unknown_sec = 256
rra[0].cf = "AVERAGE"
rra[0].rows = 500
rra[0].cur_row = 277
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 600
rra[1].cur_row = 496
rra[1].pdp_per_row = 1
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 700
rra[2].cur_row = 203
rra[2].pdp_per_row = 6
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 5
rra[3].cf = "AVERAGE"
rra[3].rows = 775
rra[3].cur_row = 599
rra[3].pdp_per_row = 24
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 11
rra[4].cf = "AVERAGE"
rra[4].rows = 797
rra[4].cur_row = 726
rra[4].pdp_per_row = 288
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 203
rra[5].cf = "MAX"
rra[5].rows = 500
rra[5].cur_row = 41
rra[5].pdp_per_row = 1
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 600
rra[6].cur_row = 191
rra[6].pdp_per_row = 1
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 700
rra[7].cur_row = 610
rra[7].pdp_per_row = 6
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 5
rra[8].cf = "MAX"
rra[8].rows = 775
rra[8].cur_row = 614
rra[8].pdp_per_row = 24
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 11
rra[9].cf = "MAX"
rra[9].rows = 797
rra[9].cur_row = 175
rra[9].pdp_per_row = 288
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = NaN
rra[9].cdp_prep[0].unknown_datapoints = 203
And, as before, from the command line, I can get data...
root@cacti/rra# snmpget -v3 -u user -l authPriv -a MD5 -A passwd -x DES -X passwd ipAdd 1.3.6.1.4.1.164.3.1.6.7.10.1.2.8192
SNMPv2-SMI::enterprises.164.3.1.6.7.10.1.2.8192 = Counter32: 627
Would you please clarify one thing from your help.2_debugging notes. You say...
For a ds.[...].type=GAUGE, verify that e.g. the number returned by the script does not exceed ds[...].MAX. What do you mean by the number returned by the script? What script are you referring to? How would I check this value on my system?
BTW, my procedure is as follows: Step 1, create a Data Template for the unique OID. Step 2, create a Data Source based on the Data Template. Step 3: Create a Graph Template based on the Data Source. Step 4: Add the Graph Template to the Device.
Here is the output from the Graph Template:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Fraser Lake IPMUX Buffer Underflows' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/rra/fraser_lake_rad_frlkipmuxbufund_229.rrd":frlkipmuxbufund:AVERAGE \
LINE1:a#00FF00FF:"#secs the recv (Eth2TDM) buff underflows in curr. int.\n" \
GPRINTAVERAGE:"Average%8.2lf %s" \
GPRINTMAX:"Maximum%8.2lf %s" \
GPRINTLAST:"Last%8.2lf %s"
RRDTool Says:
OK
Here is the output from the Data Sourc Debug:
Data Source Debug
/usr/bin/rrdtool create \
/usr/share/cacti/rra/fraser_lake_rad_frlkipmuxbufund_229.rrd \
--step 300 \
DS:frlkipmuxbufund:GAUGE:600:0:100000 \
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
And, finally here is the output from rrdtool info...note I set min to 0 and max to 100000.
root@cacti/rra# rrdtool info fraser_lake_rad_frlkipmuxbufund_229.rrd
filename = "fraser_lake_rad_frlkipmuxbufund_229.rrd"
rrd_version = "0003"
step = 300
last_update = 1332435556
ds[frlkipmuxbufund].type = "GAUGE"
ds[frlkipmuxbufund].minimal_heartbeat = 600
ds[frlkipmuxbufund].min = 0.0000000000e+00
ds[frlkipmuxbufund].max = 1.0000000000e+05
ds[frlkipmuxbufund].last_ds = "U"
ds[frlkipmuxbufund].value = 0.0000000000e+00
ds[frlkipmuxbufund].unknown_sec = 256
rra[0].cf = "AVERAGE"
rra[0].rows = 500
rra[0].cur_row = 277
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 600
rra[1].cur_row = 496
rra[1].pdp_per_row = 1
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 700
rra[2].cur_row = 203
rra[2].pdp_per_row = 6
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 5
rra[3].cf = "AVERAGE"
rra[3].rows = 775
rra[3].cur_row = 599
rra[3].pdp_per_row = 24
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 11
rra[4].cf = "AVERAGE"
rra[4].rows = 797
rra[4].cur_row = 726
rra[4].pdp_per_row = 288
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 203
rra[5].cf = "MAX"
rra[5].rows = 500
rra[5].cur_row = 41
rra[5].pdp_per_row = 1
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 600
rra[6].cur_row = 191
rra[6].pdp_per_row = 1
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 700
rra[7].cur_row = 610
rra[7].pdp_per_row = 6
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 5
rra[8].cf = "MAX"
rra[8].rows = 775
rra[8].cur_row = 614
rra[8].pdp_per_row = 24
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 11
rra[9].cf = "MAX"
rra[9].rows = 797
rra[9].cur_row = 175
rra[9].pdp_per_row = 288
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = NaN
rra[9].cdp_prep[0].unknown_datapoints = 203
And, as before, from the command line, I can get data...
root@cacti/rra# snmpget -v3 -u user -l authPriv -a MD5 -A passwd -x DES -X passwd ipAdd 1.3.6.1.4.1.164.3.1.6.7.10.1.2.8192
SNMPv2-SMI::enterprises.164.3.1.6.7.10.1.2.8192 = Counter32: 627
Would you please clarify one thing from your help.2_debugging notes. You say...
For a ds.[...].type=GAUGE, verify that e.g. the number returned by the script does not exceed ds[...].MAX. What do you mean by the number returned by the script? What script are you referring to? How would I check this value on my system?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: -nan values appear on graph...but snmpget works
This is NOT recommended. Please see 1st link of my sig for the recommended procedure which shortly involvesmgdkacti wrote:BTW, my procedure is as follows: Step 1, create a Data Template for the unique OID. Step 2, create a Data Source based on the Data Template. Step 3: Create a Graph Template based on the Data Source. Step 4: Add the Graph Template to the Device
1. create a data template for given OID
2. create a graph template for given data template
3. associate graph template with a related host template (where the host template in turn is associated with the related devices)
(3a. for existing devices: manually associate the new graph template to the devices, as step 3. won't do that for you)
4. create graphs for those host/graph templates => this will create both data source and graph, correctly linked, for the device
You may automate step 4 by using AUTOM8
R.
Re: -nan values appear on graph...but snmpget works
I rebuilt everything for one device as per the documentation:
Step 1: Build the Data Template (DT) based on snmp generic OID template.
Step 2: Build the Graph Template for given DT.
Step 3: Build the Host Template (HT)
Step 4: Assign Graph Template to the Device (which is bound to HT).
The graphs still appear with -nan values. When I issue the command: rrdtool fetch name.rrd AVERAGE or rrdtool fetch name.rrd MAX, all the output appears as -nan. If I issue the command, rrdtool info name.rrd, the output appears as so...much as before. I am still able to get snmp info from the command line. I will check every little detail, but on first look all settings appear correct.
BTW, I changed the data source item in the data template from Gauge to Counter to see if that would make a difference. It did not. As well, if I issue the rrdtool info command, it still shows as Gauge. I issued the command php poller.php to force a new polling and even restarted cron, but it still comes up and shows as Gauge.
rrd_version = "0003"
step = 300
last_update = 1332533104
ds[IPMUXJitDev].type = "GAUGE"
ds[IPMUXJitDev].minimal_heartbeat = 600
ds[IPMUXJitDev].min = 0.0000000000e+00
ds[IPMUXJitDev].max = NaN
ds[IPMUXJitDev].last_ds = "U"
ds[IPMUXJitDev].value = 0.0000000000e+00
ds[IPMUXJitDev].unknown_sec = 4
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].cur_row = 214
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].cur_row = 111
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 1
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].cur_row = 740
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 1
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].cur_row = 18
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 241
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].cur_row = 68
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].cur_row = 5
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 1
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].cur_row = 438
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 1
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].cur_row = 155
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 241
Step 1: Build the Data Template (DT) based on snmp generic OID template.
Step 2: Build the Graph Template for given DT.
Step 3: Build the Host Template (HT)
Step 4: Assign Graph Template to the Device (which is bound to HT).
The graphs still appear with -nan values. When I issue the command: rrdtool fetch name.rrd AVERAGE or rrdtool fetch name.rrd MAX, all the output appears as -nan. If I issue the command, rrdtool info name.rrd, the output appears as so...much as before. I am still able to get snmp info from the command line. I will check every little detail, but on first look all settings appear correct.
BTW, I changed the data source item in the data template from Gauge to Counter to see if that would make a difference. It did not. As well, if I issue the rrdtool info command, it still shows as Gauge. I issued the command php poller.php to force a new polling and even restarted cron, but it still comes up and shows as Gauge.
rrd_version = "0003"
step = 300
last_update = 1332533104
ds[IPMUXJitDev].type = "GAUGE"
ds[IPMUXJitDev].minimal_heartbeat = 600
ds[IPMUXJitDev].min = 0.0000000000e+00
ds[IPMUXJitDev].max = NaN
ds[IPMUXJitDev].last_ds = "U"
ds[IPMUXJitDev].value = 0.0000000000e+00
ds[IPMUXJitDev].unknown_sec = 4
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].cur_row = 214
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].cur_row = 111
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 1
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].cur_row = 740
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 1
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].cur_row = 18
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 241
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].cur_row = 68
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].cur_row = 5
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 1
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].cur_row = 438
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 1
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].cur_row = 155
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 241
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: -nan values appear on graph...but snmpget works
Changes to a data template DO NOT PROPAGATE to existing rrd files. Only new rrd files will be created accordingly. But you may use rrdtool tune to change from GAUGE to COUNTER or vice versa
R.
R.
Re: -nan values appear on graph...but snmpget works
Ok, I removed all templates and data sources for the device including the device. Then as per the instructions in the documentation.
1) I created the device and entered the relevant SNMP V3 info.
2) I created the data template copying the SNMP - generic OID template.
3) I created a graph template based on the data template in step 2.
4) I created a host template and added the graph template from step 3.
5) I opened the device and set the Host template from step 4. I then chose Create Graphs for this Host. I selected the Graph Template from step 3 and in the Data Query section selected the appropriate index/interface.
Unfortunately, my graph is still showing -nan values. If I issue the command: rrdtool fetch rad_maxjitdev_246.rrd MAX, all values are -nan.
A question:
In the data template, I define the OID as: .1.3.6.1.4.1.164.3.1.6.7.10.1.4. I did not fill in any of the SNMP v3 info as I assume it gets that info from the device. As well, in step 5, when I chose, " Create Graphs for this Host", in the data query section, I chose index 8192 since this is the index from the command...
snmpget -v3 -u user -l authPriv -a MD5 -A passwd -x DES -X passwd ipaddress 1.3.6.1.4.1.164.3.1.6.7.10.1.4.8192
Which produces the following output: SNMPv2-SMI::enterprises.164.3.1.6.7.10.1.4.8192 = INTEGER: 200000
Does all this look right?
Also, using the rrdtool tune command, I set the MAX value to 100000000 to see if that would help. I also set it to 0 to see if that would help. The original setting was U, for unlimited. I also experimented with the "Script and Script Server Timeout Value" under the GUI's Settings/Poller Tab. I changed it from 25 to 100 and also to 10 to see if that would help. None of those changes made any difference.
Again, what is so puzzling, is that I can get the values from the command line and I can get appropriate graphs from one site that I set up in a non-standard way...i.e., create data template, create data source, create graph template, add data source and graph template to device. I tried this with this device and I still got -nan values.
1) I created the device and entered the relevant SNMP V3 info.
2) I created the data template copying the SNMP - generic OID template.
3) I created a graph template based on the data template in step 2.
4) I created a host template and added the graph template from step 3.
5) I opened the device and set the Host template from step 4. I then chose Create Graphs for this Host. I selected the Graph Template from step 3 and in the Data Query section selected the appropriate index/interface.
Unfortunately, my graph is still showing -nan values. If I issue the command: rrdtool fetch rad_maxjitdev_246.rrd MAX, all values are -nan.
A question:
In the data template, I define the OID as: .1.3.6.1.4.1.164.3.1.6.7.10.1.4. I did not fill in any of the SNMP v3 info as I assume it gets that info from the device. As well, in step 5, when I chose, " Create Graphs for this Host", in the data query section, I chose index 8192 since this is the index from the command...
snmpget -v3 -u user -l authPriv -a MD5 -A passwd -x DES -X passwd ipaddress 1.3.6.1.4.1.164.3.1.6.7.10.1.4.8192
Which produces the following output: SNMPv2-SMI::enterprises.164.3.1.6.7.10.1.4.8192 = INTEGER: 200000
Does all this look right?
Also, using the rrdtool tune command, I set the MAX value to 100000000 to see if that would help. I also set it to 0 to see if that would help. The original setting was U, for unlimited. I also experimented with the "Script and Script Server Timeout Value" under the GUI's Settings/Poller Tab. I changed it from 25 to 100 and also to 10 to see if that would help. None of those changes made any difference.
Again, what is so puzzling, is that I can get the values from the command line and I can get appropriate graphs from one site that I set up in a non-standard way...i.e., create data template, create data source, create graph template, add data source and graph template to device. I tried this with this device and I still got -nan values.
Re: -nan values appear on graph...but snmpget works
OK, further to this issue...
I noticed previously that .rrd files were not being generated for the IPMUX devices. I had to turn on debug mode for the data source and copy the rrdtool command to the command line (see at end of this post). I also read that Cacti checks if the device is available before creating the .rrd file.
What is most unusual is that if I open an IPMUX device property, I can see the snmp and ping information displayed...so ping and snmp is working. However, if I click on Devices under the Management section, all IPMUX devices show as "Down" even though within the device settings itself, it is displaying ping and snmp information. I tried changing SNMP and Ping timeout values, but each IPMUX device still shows as down. This may be related to the fact that nothing is being graphed. And, sorry to inform you, but this is a Cacti specific issue. I installed the commercial trial license of SNMPc Management Console, configured it, and I can grab graphical information about the IPMUXes. But, I am financially and Windoze opposed to such a solution.
/usr/bin/rrdtool create \
/usr/share/cacti/rra/sitename-rad_maxjitdev_248.rrd \
--step 300 \
DS:maxjitdev: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 \
I noticed previously that .rrd files were not being generated for the IPMUX devices. I had to turn on debug mode for the data source and copy the rrdtool command to the command line (see at end of this post). I also read that Cacti checks if the device is available before creating the .rrd file.
What is most unusual is that if I open an IPMUX device property, I can see the snmp and ping information displayed...so ping and snmp is working. However, if I click on Devices under the Management section, all IPMUX devices show as "Down" even though within the device settings itself, it is displaying ping and snmp information. I tried changing SNMP and Ping timeout values, but each IPMUX device still shows as down. This may be related to the fact that nothing is being graphed. And, sorry to inform you, but this is a Cacti specific issue. I installed the commercial trial license of SNMPc Management Console, configured it, and I can grab graphical information about the IPMUXes. But, I am financially and Windoze opposed to such a solution.
/usr/bin/rrdtool create \
/usr/share/cacti/rra/sitename-rad_maxjitdev_248.rrd \
--step 300 \
DS:maxjitdev: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 \
Re: -nan values appear on graph...but snmpget works
Just from curious,
does your IPMUX device respond against to 2 OIDs of this post ?
does your IPMUX device respond against to 2 OIDs of this post ?
Re: -nan values appear on graph...but snmpget works
Interesting that you ask...I saw that forum post yesterday and tried both, and the answer is yes...
snmpget -v3 -u user -l authPriv -a MD5 -A passwd -x DES -X passwd ipadd 1.3.6.1.2.1.1.3.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (10702476) 1 day, 5:43:44.76
snmpget -v3 -u user -l authPriv -a MD5 -A passwd -x DES -X passwd ipadd .1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: TDMoIP Gateway: Boot: 1.30, Hw: 0.1, Sw: 3.50
snmpget -v3 -u user -l authPriv -a MD5 -A passwd -x DES -X passwd ipadd 1.3.6.1.2.1.1.3.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (10702476) 1 day, 5:43:44.76
snmpget -v3 -u user -l authPriv -a MD5 -A passwd -x DES -X passwd ipadd .1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: TDMoIP Gateway: Boot: 1.30, Hw: 0.1, Sw: 3.50
Who is online
Users browsing this forum: No registered users and 1 guest