problem with snmp based queries

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

Moderators: Developers, Moderators

Post Reply
africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

problem with snmp based queries

Post by africanw »

Hi,

I moved my cacti install from one windows machine to another and everything works except for -

SNMP - Get Mounted Partitions
SNMP - Get Processor Information

but SNMP - Interface Statistics works.

It was all working until I clicked on reload data query on a host and it went to 0. Same problem when adding a new host.

The hosts that I have not reloaded still graph fine.

Cannot find what I am missing

Verbose out put -

+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'd:\php\php.exe -q D:\_Webroot\something\scripts\ss_host_disk.php 192.168.210.22 49 1:161:500:1:10:Community:::MD5::DES: index'
+ Executing script query 'd:\php\php.exe -q D:\_Webroot\something\scripts\ss_host_disk.php 192.168.210.22 49 1:161:500:1:10:Community:::MD5::DES: query index'
+ Executing script query 'd:\php\php.exe -q D:\_Webroot\something\scripts\ss_host_disk.php 192.168.210.22 49 1:161:500:1:10:Community:::MD5::DES: query description'
+ Executing script query 'd:\php\php.exe -q D:\_Webroot\something\scripts\ss_host_disk.php 192.168.210.22 49 1:161:500:1:10:Community:::MD5::DES: query sau'
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_disk.xml'
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_disk.xml'
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_disk.xml'
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_disk.xml'
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_disk.xml'
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_disk.xml'
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_disk.xml'

General Information
Date Tue, 27 Oct 2009 13:19:27 +1100
Cacti Version 0.8.7e
Cacti OS win32
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.2.x
Hosts 21
Graphs 276
Data Sources Script/Command: 48
SNMP: 187
SNMP Query: 99
Script - Script Server (PHP): 2
Script Query - Script Server: 135
Total: 471

Poller Information
Interval 60
Type spine
Items Action[0]: 493
Action[1]: 48
Action[2]: 192
Total: 733
Concurrent Processes 2
Max Threads 2
PHP Servers 1
Script Timeout 50
Max OID 10
Last Run Statistics Time:19.9307 Method:spine Processes:2 Threads:2 Hosts:22 HostsPerProcess:11 DataSources:385 RRDsProcessed:19

PHP Version 5.2.10
PHP OS WINNT
PHP uname Windows NT CRESCENT 5.2 build 3790
PHP SNMP Installed
max_execution_time 60
memory_limit 128M

thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Both of those Data Querys are broken for all devices or just a few?

2) Post the verbose query for SNMP - Get Processor Information.

3) Using cmd.php instead of spine change it?

4) Did you censor your D:\ path or that really what it is? There can't be any spaces in the cacti web path.
africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

Post by africanw »

Hi,

They break some I do the reload (Reload Data Query) on a device after moving so have not tried it on all devices only four but guess it will do it on all.

It is a undersocre '_' in the path.

Does not matter if I use cmd or spine (I normally use spine).

Proc info

+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'd:\php\php.exe -q D:\_Webroot\something\scripts\ss_host_cpu.php 192.168.210.22 49 1:161:500:1:10:eCorner:::MD5::DES: index'
+ Executing script query 'd:\php\php.exe -q D:\_Webroot\something\scripts\ss_host_cpu.php 192.168.210.22 49 1:161:500:1:10:eCorner:::MD5::DES: query index'
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'D:/_Webroot/something/resource/script_server/host_cpu.xml'
Attachments
cacti.png
cacti.png (23.6 KiB) Viewed 1730 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests