snmpwalk ok but verbose Querry not ok

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
cadoi
Cacti User
Posts: 67
Joined: Fri Jan 22, 2010 10:43 pm

snmpwalk ok but verbose Querry not ok

Post by cadoi »

i user verbose querry and snmpwalk in the same time but the result is difference.

snmpwalk ok
but verbose querry is not

I turn on debug mode and check the log of this host. the log show:

Code: Select all

06/10/2010 08:45:07 AM - SPINE: Poller[0] Host[596] RECACHE: Processing 814 items in the auto reindex cache for 'x.x.x.x'
i use spine to check

Code: Select all

/usr/local/spine/bin/spine --verbosity=5 596 596
SPINE: Using spine config file [/etc/spine.conf]
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The path_php_server variable is /var/www/html/cacti/script_server.php
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /var/www/html/cacti/log/cacti.log
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The availability_method variable is 1
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The ping_method variable is 2
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 800
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 0
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The log_pstats variable is 0
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The threads variable is 10
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 12
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The script timeout is 75
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 5
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: StartHost='596', EndHost='596', TotalPHPScripts='0'
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 10
06/10/2010 09:08:16 AM - SPINE: Poller[0] Version 0.8.7e starting
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
06/10/2010 09:08:16 AM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: SNMP Header Version is 5.3.1
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: SNMP Library Version is 5.3.1
06/10/2010 09:08:16 AM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
06/10/2010 09:08:16 AM - SPINE: Poller[0] Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 2
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
06/10/2010 09:08:16 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
06/10/2010 09:08:16 AM - SPINE: Poller[0] Host[596] DEBUG: ICMP Host Alive, Try Count:1, Time:0.2410 ms
06/10/2010 09:08:16 AM - SPINE: Poller[0] Host[596] PING Result: ICMP: Host is Alive
06/10/2010 09:08:16 AM - SPINE: Poller[0] Host[596] SNMP Result: Host responded to SNMP
06/10/2010 09:08:16 AM - SPINE: Poller[0] Host[596] RECACHE: Processing 814 items in the auto reindex cache for 'x.x.x.x'
06/10/2010 09:10:36 AM - SPINE: Poller[0] Host[596] NOTE: There are '9' Polling Items for this Host
06/10/2010 09:10:36 AM - SPINE: Poller[0] Host[596] DEBUG: The NIFTY POPEN returned the following File Descriptor 7
06/10/2010 09:10:38 AM - SPINE: Poller[0] Host[596] DS[3321] SCRIPT: perl /var/www/html/cacti/scripts/ping-latency.pl x.x.x.x, output: min:0.141 avg:0.187 max:0.230 dev:0.030 loss:0
06/10/2010 09:10:38 AM - SPINE: Poller[0] Host[596] DS[3320] SNMP: v2: x.x.x.x, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.268462465, value: 473636466300914
06/10/2010 09:10:38 AM - SPINE: Poller[0] Host[596] DS[3320] SNMP: v2: x.x.x.x, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.268462465, value: 126334179852486
06/10/2010 09:10:38 AM - SPINE: Poller[0] Host[596] DS[3319] SNMP: v2: x.x.x.x, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.268462337, value: 474311952122943
06/10/2010 09:10:38 AM - SPINE: Poller[0] Host[596] DS[3319] SNMP: v2: x.x.x.x, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.268462337, value: 128304932956173
06/10/2010 09:10:38 AM - SPINE: Poller[0] Host[596] DS[3318] SNMP: v2: x.x.x.x, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.134218113, value: 208001764797127
06/10/2010 09:10:38 AM - SPINE: Poller[0] Host[596] DS[3318] SNMP: v2: x.x.x.x, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.134218113, value: 53842791637571
06/10/2010 09:10:38 AM - SPINE: Poller[0] Host[596] DS[3317] SNMP: v2: x.x.x.x, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.134217985, value: 216605323496376
06/10/2010 09:10:38 AM - SPINE: Poller[0] Host[596] DS[3317] SNMP: v2: x.x.x.x, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.134217985, value: 55136238920616
06/10/2010 09:10:38 AM - SPINE: Poller[0] Host[596] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
06/10/2010 09:10:38 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
06/10/2010 09:10:38 AM - SPINE: Poller[0] DEBUG: Thread Cleanup Complete
06/10/2010 09:10:38 AM - SPINE: Poller[0] DEBUG: PHP Script Server Pipes Closed
06/10/2010 09:10:38 AM - SPINE: Poller[0] DEBUG: Allocated Variable Memory Freed
06/10/2010 09:10:38 AM - SPINE: Poller[0] DEBUG: MYSQL Free & Close Completed
06/10/2010 09:10:38 AM - SPINE: Poller[0] Time: 141.9275 s, Threads: 10, Hosts: 2
i don't know why
Attachments
verbose querry
verbose querry
222.JPG (88.54 KiB) Viewed 2302 times
snmpwalk with the same oid use in the interface.xml
snmpwalk with the same oid use in the interface.xml
111.JPG (71.88 KiB) Viewed 2302 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Dont use verify all fields.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
cadoi
Cacti User
Posts: 67
Joined: Fri Jan 22, 2010 10:43 pm

Post by cadoi »

Dont use verify all fields
Why don't use verify all fields. But same resule when i use Uptime Goes Backwards.

I don't know why? can you explain for me

thanks.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Verify all fields has to get each index individually and compare to the stored index. This increases the number of both snmp and database turns. In your case by 3 orders of magnitude.

I should rewrite it, but not right now. You can copy this text to a bug report at bugs.cacti.net and i will put it on my list.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
cadoi
Cacti User
Posts: 67
Joined: Fri Jan 22, 2010 10:43 pm

Post by cadoi »

thanks for your support!

I will continue monitor this device with Uptime Goes Backwards. if it still error. I will poss it to bugs.cacti.net. :)

Other device i still use erify all fields with other device and it ok. :D
jet755
Posts: 19
Joined: Fri Oct 28, 2011 8:50 pm

Re: snmpwalk ok but verbose Querry not ok

Post by jet755 »

I meet a similar issue today.

My lab test device has a OID that walks slow, so I set the timeout to 5 second, and snmpwalk command suceeds.
snmpwalk -c public -v 2c -t 5 10.xx.xx.xx 1.3.6.1.4.1.xxxxxx

But Verbose Query always failing, even set the SNMP Timeout a long time.

Dose the Verbose Query use the snmpwalk.exe, or use the php_snmp.dll?
What shall I do, to make the Verbose Query success?

P.S. I use the Windows OS. and tried kinds Re-Index Method.
jet755
Posts: 19
Joined: Fri Oct 28, 2011 8:50 pm

Re: snmpwalk ok but verbose Querry not ok

Post by jet755 »

Warning in LOG FILE:

11/22/2011 08:11:24 PM - CMDPHP: Poller[0] WARNING: SNMP Walk Timeout for Host:'10.xx.xx.xx', and OID:'.1.3.6.1.4.1.xxxxxx'
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests