Hello. I have recently begun running Cacti on Windows and I used the latest Windows installer to get everything working. Here's my info from the Tech Support link:
Date Fri, 04 Dec 2015 09:42:17 -0500
Cacti Version 0.8.8g
Cacti OS win32
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.4.x
Hosts 50
Graphs 1013
Data Sources Script/Command: 6
SNMP: 269
SNMP Query: 588
Script - Script Server (PHP): 10
Script Query - Script Server: 216
Total: 1089
Everything is working great. I downloaded a template from the forums here (LIT_W32_OS.pl) for graphing Memory stats on my Windows Servers. If I run it on my Cacti server from a command prompt, all results are returned fine. I see this in my Cacti logs though every time the poller runs:
12/04/2015 10:04:10 AM - SPINE: Poller[0] Host[21] Description[2dc] ERROR: Empty result [2dc.mydomain.com]: 'c:\Strawberry\perl\bin\perl.exe c:\inetpub\wwwroot\cacti\resource\script_queries\Lit_W32_OS.pl 2dc.mydomain.com get MaxProcessMemorySize,TotalVirtualMemorySize,FreeVirtualMemory,TotalVisibleMemorySize,FreePhysicalMemory,SizeStoredInPagingFiles,FreeSpaceInPaging'
I have attached a copy of the graph.
Not sure how to go about fixing this. Any assistance would be appreciated.
Thanks.
-Chris
Perl Script Not Graphing
Moderators: Developers, Moderators
- Diggit2001
- Cacti User
- Posts: 195
- Joined: Tue May 03, 2005 4:29 pm
- Location: MD, US
Perl Script Not Graphing
- Attachments
-
- cacti.JPG (56.52 KiB) Viewed 2645 times
Re: Perl Script Not Graphing
1) do you have perl installed?
2) if you manually run that command cacti is executing, does it return data?
3) using perl to pull WMI data works, but is inefficient and won't scale up very well. Several of those metrics are available via SNMP in the snmp - host partition space data query. a few others are not though
2) if you manually run that command cacti is executing, does it return data?
3) using perl to pull WMI data works, but is inefficient and won't scale up very well. Several of those metrics are available via SNMP in the snmp - host partition space data query. a few others are not though
| 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 |
- Diggit2001
- Cacti User
- Posts: 195
- Joined: Tue May 03, 2005 4:29 pm
- Location: MD, US
Re: Perl Script Not Graphing
1. Yup, I'm using Strawberry Perl.
2. Yes, running it manually returns data.
3. Hmm. I wanted to use the standard host disk partition query but it wasn't working for memory usage, only disk space so I went looking for a different script and found this one.
Thanks.
2. Yes, running it manually returns data.
3. Hmm. I wanted to use the standard host disk partition query but it wasn't working for memory usage, only disk space so I went looking for a different script and found this one.
Thanks.
- Diggit2001
- Cacti User
- Posts: 195
- Joined: Tue May 03, 2005 4:29 pm
- Location: MD, US
Re: Perl Script Not Graphing
What should be my next course of action to get this functional?
Many thanks.
Many thanks.
Re: Perl Script Not Graphing
Validated all Agents are enabled? http://docs.cacti.net/faq#why_doesn_t_w ... e_via_snmp
Depending on the version of Windows, it'll return diff memory metrics via the standard host disk partition query. If you want more granular detail, then yes will have to use another tool. http://www.snmp-informant.com/ is an option, which is free and uses snmp (there are templates in the script forum).
Depending on the version of Windows, it'll return diff memory metrics via the standard host disk partition query. If you want more granular detail, then yes will have to use another tool. http://www.snmp-informant.com/ is an option, which is free and uses snmp (there are templates in the script forum).
| 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 |
Who is online
Users browsing this forum: No registered users and 1 guest