Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I have looked at all of the posts regarding this and have been unable to get this graph to display anything but NoN. If i run the script from the cmd line, it returns the proper values. All of my SNMP stuff works great. Any help would be greatly appreciated.
I am running the following:
w2k3
Apache 2.0.54
Cacti 0.8.6f
Cactid 0.8.6e
MySQL 4.1.12a
net-snmp 5.1.3.1
php 5.0.4
rrdtool 1.2.11
Here is what the cacti log shows:
09/20/2005 07:54:36 AM - CACTID: Poller[0] Host[51] DS[488] SCRIPT: perl D:\Apache2\htdocs\cacti/scripts/w32_iis_query_w3svc.pl WWW01 get CurrentConnections,CurrentAnonymousUsers,CurrentNonAnonymousUsers _Total, output: U
09/20/2005 07:54:36 AM - CACTID: Poller[0] Host[51] DS[488] WARNING: Result from SCRIPT not valid. Partial Result: ...
09/20/2005 07:54:36 AM - CACTID: Poller[0] Host[51] ERROR: Empty result [192.103.183.101]: 'perl D:\Apache2\htdocs\cacti/scripts/w32_iis_query_w3svc.pl WWW01 get CurrentConnections,CurrentAnonymousUsers,CurrentNonAnonymousUsers _Total'
I'm having the same problem with cacti on a windows machine. I can run the script from the command line and it returns values, I can even log in under my cacti user and run the script but it won't run in cacti.
Does anyone have any more suggestions or info. I have upgraded to G and awaiting the new ver of cactid, but until then any ideas? My boss is pressing me on this and I could sure some assistance. Thanks all!
that_kid wrote:I'm having the same problem with cacti on a windows machine. I can run the script from the command line and it returns values, I can even log in under my cacti user and run the script but it won't run in cacti.
I am having the same problem. Running Cacti-g, and just installed the newest cactid program.
Log file shows
Empty result [172.17.170.210]: 'perl N:/cacti/scripts/w32_iis_query_w3svc.pl elijah get CurrentConnections,CurrentAnonymousUsers,CurrentNonAnonymousUsers _total'
Yet I can copy past that same perl line and get results. Any ideas? Cacti running on a 2k box with the other end running 2k3.
OK, so I upgraded to the newest version of cactid and got the script to work, but now there is a new problem. I had existing graphs running for things like CPU, drive space, etc using SNMP and now they stopped graphing. Also, when I add a new host and try and create a new graph, i get this.
Data Query [SNMP - Get Mounted Partitions]
This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information.
I run it in debug mode and this is what I get.
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at 'D:\Apache2\htdocs\cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'd:\php\php.exe -q D:\Apache2\htdocs\cacti\scripts\ss_host_disk.php 127.0.0.1 71 1:161:500:public:::MD5::[None] index'
+ Executing script query 'd:\php\php.exe -q D:\Apache2\htdocs\cacti\scripts\ss_host_disk.php 127.0.0.1 71 1:161:500:public:::MD5::[None] query index'
+ Executing script query 'd:\php\php.exe -q D:\Apache2\htdocs\cacti\scripts\ss_host_disk.php 127.0.0.1 71 1:161:500:public:::MD5::[None] query description'
+ Executing script query 'd:\php\php.exe -q D:\Apache2\htdocs\cacti\scripts\ss_host_disk.php 127.0.0.1 71 1:161:500:public:::MD5::[None] query sau'
+ Found data query XML file at 'D:\Apache2\htdocs\cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at 'D:\Apache2\htdocs\cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at 'D:\Apache2\htdocs\cacti/resource/script_server/host_disk.xml'
Ok i have a windows 2003 server and i am trying to figure out Indexes. Now i ran this command:
perl w32_proc_query_w3svc.pl mhmeeye index
as stated in an above post and got this:
Intel(R) Xeon(TM) CPU 2.80GHz
Intel(R) Xeon(TM) CPU 2.80GHz
So that is good.
However when i run this:
perl w32_iis_query_w3svc.pl mhmeeye index
I get this:
Check the computer and class name.
No information was found on the specified class!
Is there some kind of iis 6 permissions or something or something with iis wmi that i am missing? The server in question is Windows 2003 Service Pack 1 no firewall and running IIS.