W32 - Process Stats Data Query Template
Moderators: Developers, Moderators
-
- Posts: 31
- Joined: Fri Jul 01, 2005 12:07 pm
W32 - Process Stats Data Query Template
Here is my first Data Query Template... Enjoy...
- Attachments
-
- cacti_graph_template_w32_process_stats.xml
- import this template as a graph template.
- (24.82 KiB) Downloaded 1505 times
-
- w32_query_Process.pl.txt
- put in your scripts directory.
- (5.9 KiB) Downloaded 1558 times
-
- W32ProcessStat.xml
- put in your resourcescript_queries directory.
- (1.58 KiB) Downloaded 1574 times
-
- Posts: 31
- Joined: Fri Jul 01, 2005 12:07 pm
-
- Posts: 34
- Joined: Wed Sep 14, 2005 9:25 am
- Location: Omaha, NE
-
- Posts: 31
- Joined: Fri Jul 01, 2005 12:07 pm
-
- Posts: 34
- Joined: Wed Sep 14, 2005 9:25 am
- Location: Omaha, NE
-
- Posts: 31
- Joined: Fri Jul 01, 2005 12:07 pm
-
- Posts: 34
- Joined: Wed Sep 14, 2005 9:25 am
- Location: Omaha, NE
When you manually run the perl script from the command line, does it return anything? If not, then you need to make sure you have Perl installed and in your system path.
| 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 |
-
- Posts: 34
- Joined: Wed Sep 14, 2005 9:25 am
- Location: Omaha, NE
-
- Posts: 31
- Joined: Fri Jul 01, 2005 12:07 pm
I fixed this by changing the account the the worker process runs under in IIS 6.0. The account I used has access to the WMI repository on the remote machine.
Steps:
1. Open the IIS Manager in Administrative Tools
2. Expand Application Pools
3. Right-Click DefaultAppPool (or the custom pool you have assigned to Cacti) and go to properties.
4. Select the Identity Tab
5. Select the Configurable Radio Button and type in the account that has rights for access to remote WMI access.
6. Add this domain account to the local IIS_WPG on the machine.
7. Issue a iisreset at a command prompt.
Steps:
1. Open the IIS Manager in Administrative Tools
2. Expand Application Pools
3. Right-Click DefaultAppPool (or the custom pool you have assigned to Cacti) and go to properties.
4. Select the Identity Tab
5. Select the Configurable Radio Button and type in the account that has rights for access to remote WMI access.
6. Add this domain account to the local IIS_WPG on the machine.
7. Issue a iisreset at a command prompt.
-
- Posts: 31
- Joined: Fri Jul 01, 2005 12:07 pm
thats works only on cacti on windows
i try on cacti linux i have this message on script execution:
[root@localhost scripts]# ./w32_query_process.pl
-bash: ./w32_query_process.pl: c:/perl/bin/perl: bad interpreter: Aucun fichier ou répertoire de ce type
i try on cacti linux i have this message on script execution:
[root@localhost scripts]# ./w32_query_process.pl
-bash: ./w32_query_process.pl: c:/perl/bin/perl: bad interpreter: Aucun fichier ou répertoire de ce type
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
not working either...
I installed it the way it has been described and all three fields are blank and asking for enties. COuld you give me an example having all three entries configured so the graph should be shown?
WMI or SNMP
from look into the pl script for me it looks like SNMP
Who is online
Users browsing this forum: No registered users and 2 guests