All Windows hosts: only Partial Monitoring
Moderators: Developers, Moderators
All Windows hosts: only Partial Monitoring
I have a whole array of windows hosts and TCP endpoints I am monitoring with cacti. For the windows based hosts, I cannot get any information on the disks or the memory stack. I have tried doing some basic troubleshooting.
On the windows side, I am using the Microsoft SNMP application with appropriately configured firewall, service entry, and RO community. All availible agents are checked in the agent configuration tab.
I know that cacti can get there because I have all of the other graphs working.
To aid in troubleshooting, I have setup a guest account for you folks to see a couple of minor hosts as an example. Once the problem is solved, the port access and user go away.
http://landerson.serveftp.com:10080/
user graphs
password graphs
On the windows side, I am using the Microsoft SNMP application with appropriately configured firewall, service entry, and RO community. All availible agents are checked in the agent configuration tab.
I know that cacti can get there because I have all of the other graphs working.
To aid in troubleshooting, I have setup a guest account for you folks to see a couple of minor hosts as an example. Once the problem is solved, the port access and user go away.
http://landerson.serveftp.com:10080/
user graphs
password graphs
read http://forums.cacti.net/viewtopic.php?t=11747 and repost.
Click on verbose query for the disk query on a device which you think should work. Does it return any data?
Click on verbose query for the disk query on a device which you think should work. Does it return any data?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Hmm, I have the same issue. I do not get any entries returned when I click 'Verbose Query' for the SNMP - Get Mounted Partitions data query. I can communicate via snmpwalking the OID's so that work. This goes for all my Windows installations.
The odd thing is that I have had it working on a different Cacti installation, however that was an earlier version of Cacti.
My configuration;
CentOS with Apache. Cacti 8.6j, am using CactiD as poller.
I have snmp service installed and using ro community.
Any ideas?
The odd thing is that I have had it working on a different Cacti installation, however that was an earlier version of Cacti.
My configuration;
CentOS with Apache. Cacti 8.6j, am using CactiD as poller.
I have snmp service installed and using ro community.
Any ideas?
MikaelS: Can cacti successfully poll anything via snmp on those broken windows boxes?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
What things are you polling on the windows hosts via snmp?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
This is done by Cacti, right?MikaelS wrote:I am currently polling interface statistics and amount of running processes via SNMP.
If all of the 'Agents' are enabled in the snmp service, then it's time to reinstall the microsoft snmp agent.MikaelS wrote:If I snmpwalk the OID's from the server running Cacti it works, but not when I through Cacti.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Cacti uses /scripts/ss_host_disk.php to collect disk partition info from a device. When you snmpwalk .1.3.6.1.2.1.25.2.3.1, you get data back from the windows host? Try increasing the timeout for that Windows device. Also increase the timeout values and memory in your php.ini file.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Snmpwalking that oid returns me with all drives, sizes etc. Increasing memory usage and timeout didn't do anything unfortunately. Timeout isn't really the issue I'd guess anyway as the command is ran very fast and doesn't stand and wait for a timeout.
[root@hostingmon1 scripts]# /usr/bin/php -q /opt/statistics/scripts/ss_host_disk.php xx.xx.xx.xx 48 "1:161ixxintern:|host_snmp_username|:|host_snmp_password|:MD5::[None]" query index
[root@hostingmon1 scripts]# /usr/bin/php -q /opt/statistics/scripts/ss_host_disk.php xx.xx.xx.xx 48 "1:161ixxintern:|host_snmp_username|:|host_snmp_password|:MD5::[None]" query total
[root@hostingmon1 scripts]#
Doesn't return anything if I run it from a command line, assuming I've gotten the command line right.
[root@hostingmon1 scripts]# /usr/bin/php -q /opt/statistics/scripts/ss_host_disk.php xx.xx.xx.xx 48 "1:161ixxintern:|host_snmp_username|:|host_snmp_password|:MD5::[None]" query index
[root@hostingmon1 scripts]# /usr/bin/php -q /opt/statistics/scripts/ss_host_disk.php xx.xx.xx.xx 48 "1:161ixxintern:|host_snmp_username|:|host_snmp_password|:MD5::[None]" query total
[root@hostingmon1 scripts]#
Doesn't return anything if I run it from a command line, assuming I've gotten the command line right.
You have to run any ss_* script from the PHP script server. use php script_server.php to start it. Look in your poller cache for the exact command cacti executes for the host in question using the ss_host_disk script.MikaelS wrote:Doesn't return anything if I run it from a command line, assuming I've gotten the command line right.
It really doesn't make any sense why a snmpwalk from the cacti box works, yet the one from within cacti, does not. Windows boxes use the php_snmp dll for queries, but I believe linux users use net-snmp or ucd-snmp. Might be some sort of issue with those, which I'm not familiar with.
Can cacti successfully query non-windows devices for the 'SNMP - Get Mounted Partitions' query?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I haven't tried non-windows servers as I have a different graph for them. But I did, and no, it doesn't work so it's not restricted to Windows machines.
Couldn't find the host I'm trying with in the poller cache in regards of ss_host_disk.php.
I just tried the SNMP - Get Processor Information, it works perfect. So I have 2 ss_* scripts that works.
Could it be something in the script or data query that is wrong?
Couldn't find the host I'm trying with in the poller cache in regards of ss_host_disk.php.
I just tried the SNMP - Get Processor Information, it works perfect. So I have 2 ss_* scripts that works.
Could it be something in the script or data query that is wrong?
Look in your poller cache for a device which has the SNMP - Get Processor Information query added and an associated data source created. It should show up something like: <hostname> - Used Space - C: Label:Ares Serial NumMikaelS wrote: Couldn't find the host I'm trying with in the poller cache in regards of ss_host_disk.php.
I just tried the SNMP - Get Processor Information, it works perfect. So I have 2 ss_* scripts that works.
Possibly. Overwrite your current /cacti/script/ and /cacti/resources/ files with the ones from the cacti zip file you downloaded from this website.MikaelS wrote:Could it be something in the script or data query that is wrong?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
The device which has SNMP - Get Processor information doesn't have any datasource called like that.BSOD2600 wrote: Look in your poller cache for a device which has the SNMP - Get Processor Information query added and an associated data source created. It should show up something like: <hostname> - Used Space - C: Label:Ares Serial Num
Tried it, didn't work. Tried the ones from the Cacti8.7a archive, didn't work either.BSOD2600 wrote: Possibly. Overwrite your current /cacti/script/ and /cacti/resources/ files with the ones from the cacti zip file you downloaded from this website.
I changed the patch in the data query to use script_queries/host_disk.xml instead of script_server/host_disk.xml, this actually made me see the disks when I did verbose query. It doesn't create any graphs for me however as an error happens when the poller runs, but it don't think I should be using the script_queries/host_disk.xml script anyway, right?
Who is online
Users browsing this forum: No registered users and 1 guest