can't get snmp value by poller.php

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
wellsgz
Posts: 3
Joined: Tue May 24, 2005 4:06 am

can't get snmp value by poller.php

Post by wellsgz »

Seems that poller.php can't get the specifically oid value correctly, and return the error message "WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur",

But i try to use snmpget.exe command to get the oid value, it's all right.

Anyone met this issue beofre? hope i can get some help,

Thanks~

05/24/2005 04:59:12 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:\php\php-win.exe, ARGS: -q d:\cacti\www/cmd.php 0 2]
05/24/2005 04:59:12 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
05/24/2005 04:59:12 PM - PHPSVR: Poller[0] DEBUG: GETCWD: d:/net-snmp/bin
05/24/2005 04:59:12 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: d:/cacti/www
05/24/2005 04:59:12 PM - PHPSVR: Poller[0] DEBUG: FILENM: d:\Cacti\www\script_se
rver.php
05/24/2005 04:59:12 PM - PHPSVR: Poller[0] PHP Script Server has Started - Paren
t is cmd
05/24/2005 04:59:12 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
05/24/2005 04:59:12 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
05/24/2005 04:59:12 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items i
n the auto reindex cache for '64.104.161.239'.
05/24/2005 04:59:13 PM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not
valid. Partial Result: No Such Instance cur
05/24/2005 04:59:13 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 64.104.161.239, dsn
ame: snmp_oid, oid: 1.3.6.1.4.1.9.9.42.1.5.1.1.2.100, output: U
05/24/2005 04:59:13 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown req
uest received, exiting
05/24/2005 04:59:13 PM - CMDPHP: Poller[0] Time: 0.6730 s, Theads: N/A, Hosts: 2
05/24/2005 04:59:13 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe upd
ate D:\Cacti\www\rra\saa_snmp_oid_8.rrd --template snmp_oid 1116925152:U
05/24/2005 04:59:13 PM - SYSTEM STATS: Time: 1.0588 s, Method: cmd.php, Processe
s: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please note you are missing the period "." at the beginning of the OID:
1.3.6.1.4.1.9.9.42.1.5.1.1.2.100
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?
wellsgz
Posts: 3
Joined: Tue May 24, 2005 4:06 am

Post by wellsgz »

TheWitness wrote:Please note you are missing the period "." at the beginning of the OID:
1.3.6.1.4.1.9.9.42.1.5.1.1.2.100
TheWitness
I can get the vaule correttly now, thanks man^_^~
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests