Win32 - Monitor running processes
Moderators: Developers, Moderators
You'll have to write a custom script for that.
| 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 |
arg
:'(
but i think you can find with snmp
but i don't know how to find the oid
:'(
but i think you can find with snmp
but i don't know how to find the oid
|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)
well
i look with getif but i d'ont find the oid
about this
on HP-UX
how i active all oid on my machine hp-ux?
i look with getif but i d'ont find the oid
about this
on HP-UX
how i active all oid on my machine hp-ux?
|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)
For a windows machine:
Thks i hav my script sh
for a UNix machine i have this i do'nt understand what is please?
Thks i hav my script sh
this count number processus firefox runnin on my host !snmpwalk -v 1 -c public 192.168.0.5 | grep -c firefox
for a UNix machine i have this i do'nt understand what is please?
[root@localhost plugins]# snmpwalk -v 1 -c public 192.168.0.2 | grep -c menu
Error: OID not increasing: TCP-MIB::tcpConnState.127.0.0.1.55440.127.0.0.1.55342
>= TCP-MIB::tcpConnState.127.0.0.1.383.127.0.0.1.59816
0
|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)
Please start your own thread, since this conversation doesn't have anything to do with the with the Windows processes script.
| 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 |
well i don't find how i can add number process runnng on all graph
|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)
A noob-ish question re: BSOD's Win Proc script
I preface this by noting that I am fairly new to system monitoring and SNMP in general and with cacti, in particular.
Monitor target is a Win2K box running SP4 and Exchange 2000 on it. MS's snmp service is installed and I can use snmpwalk against it (from the same Linux server running cacti) and pull back all sorts of information. Cacti "j" is running on a CentOS-5 Linux box.
I went through the README file and had a couple of questions:
1st, there are 4 .xml files included, but I only see coverage of the two templates and the win32 files. What is the data_query_snmp_xxxx file for?
In step 3, what file is my target xml? Also, what's my data input method (script data, script server or SNMP Data)?
Seems like no matter what permutation I use, I keep getting this:
Now, Cacti is able to successfully interact with the Win2K server at some basic level, though the uptime looks off. Its been up a LOT longer than that. Anyway...:
Everything else in cacti seems to be working well, though everything else is Cisco network equipment.
Any assistance with this would be much appreciated. I don't *think* I need it spelled out. Just pointed in the right direction will be great!
Oh, and I have perused all 11 pages of this thread to try to avoid re-asking an answered question.
Monitor target is a Win2K box running SP4 and Exchange 2000 on it. MS's snmp service is installed and I can use snmpwalk against it (from the same Linux server running cacti) and pull back all sorts of information. Cacti "j" is running on a CentOS-5 Linux box.
I went through the README file and had a couple of questions:
1st, there are 4 .xml files included, but I only see coverage of the two templates and the win32 files. What is the data_query_snmp_xxxx file for?
In step 3, what file is my target xml? Also, what's my data input method (script data, script server or SNMP Data)?
Seems like no matter what permutation I use, I keep getting this:
Code: Select all
+ Running data query [12].
+ Found type = '4 '[script query].
+ Could not find data query XML file at '/var/www/html/resource/snmp_queries/win32_procs.xml'
+ Error parsing XML file into an array.
+ Could not find data query XML file at '/var/www/html/resource/snmp_queries/win32_procs.xml'
+ Could not find data query XML file at '/var/www/html/resource/snmp_queries/win32_procs.xml'
+ Could not find data query XML file at '/var/www/html/resource/snmp_queries/win32_procs.xml'
Code: Select all
System: Hardware: x86 Family 15 Model 4 Stepping 10 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.0 (Build 2195 Multiprocessor Free)
Uptime: 665773 (0 days, 1 hours, 50 minutes)
Hostname: EXCHANGE01
Location: xxxxxxxxxxx
Contact: xxxxxxxxx@xxxxxx
Any assistance with this would be much appreciated. I don't *think* I need it spelled out. Just pointed in the right direction will be great!
Oh, and I have perused all 11 pages of this thread to try to avoid re-asking an answered question.
Re: A noob-ish question re: BSOD's Win Proc script
It's the data query template, which interfaces between the script (win32_procs.xml) and data template (cacti_data_template_snmp_running_process_info.xml). Just import all 3 cacti_XXX.xml files.isosysadm wrote:What is the data_query_snmp_xxxx file for?
In step 3, what file is my target xml?
isosysadm wrote:In step 3, what file is my target xml? Also, what's my data input method (script data, script server or SNMP Data)?
If you imported the script, this is all specified for you automatically.
sounds like you didn't place the win32_procs.xml in the correct folder or have permission problems.isosysadm wrote:Seems like no matter what permutation I use, I keep getting this:
| 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 |
BSOD,
Thanks. It finally came together for me.
First, I whacked, then re-imported all 3 template files.
Then I finally realized that I didn't have to select "Data Queries" from the Left hand menu and then click "add". Instead I selected the device I wanted to monitor and applied the already existing data query to that device.
Bingo! all of the currently running procs on that host presented themselves for my selection.
Thanks. It finally came together for me.
First, I whacked, then re-imported all 3 template files.
Then I finally realized that I didn't have to select "Data Queries" from the Left hand menu and then click "add". Instead I selected the device I wanted to monitor and applied the already existing data query to that device.
Bingo! all of the currently running procs on that host presented themselves for my selection.
Is problem of manual reindex solved?
[quote][b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.0
[b]Poller Type[/b] - Spine v
[b]Plugins[/b][list]Device Monitoring (monitor - v0.8.2)
Global Plugin Settings (settings - v0.3)
Thresholds (thold - v0.3.9)
Host Info (hostinfo - v0.2)
PHP Network Weathermap (weathermap - v0.941)
Poller Performance Report (pollperf - v0.32)
IP subnet Calculator IPv4 IPv6 (ipsubnet - v.4c)
PHP Network Managing (manage - v0.5.1)
Report Creator (reports - v0.3)
RRD File Cleaner (RRD Cleaner - v0.34)
Syslog Monitoring (syslog - v0.5.2)
Configuration manager (configmanager - v0.75)
Update Checker (update - v0.4)
Uptime (uptime - v0.3)[/list][/quote]
[b]Plugin Architecture[/b] - 2.0
[b]Poller Type[/b] - Spine v
[b]Plugins[/b][list]Device Monitoring (monitor - v0.8.2)
Global Plugin Settings (settings - v0.3)
Thresholds (thold - v0.3.9)
Host Info (hostinfo - v0.2)
PHP Network Weathermap (weathermap - v0.941)
Poller Performance Report (pollperf - v0.32)
IP subnet Calculator IPv4 IPv6 (ipsubnet - v.4c)
PHP Network Managing (manage - v0.5.1)
Report Creator (reports - v0.3)
RRD File Cleaner (RRD Cleaner - v0.34)
Syslog Monitoring (syslog - v0.5.2)
Configuration manager (configmanager - v0.75)
Update Checker (update - v0.4)
Uptime (uptime - v0.3)[/list][/quote]
Err what problem exactly is that?
| 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 |
If process was restarted, its PID changes, and I need manually recache cactis poller (or click 'verbose query' under Management->devices), otherwise template 'asking' old PID :(
All settings done as explained in readme.
All settings done as explained in readme.
[quote][b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.0
[b]Poller Type[/b] - Spine v
[b]Plugins[/b][list]Device Monitoring (monitor - v0.8.2)
Global Plugin Settings (settings - v0.3)
Thresholds (thold - v0.3.9)
Host Info (hostinfo - v0.2)
PHP Network Weathermap (weathermap - v0.941)
Poller Performance Report (pollperf - v0.32)
IP subnet Calculator IPv4 IPv6 (ipsubnet - v.4c)
PHP Network Managing (manage - v0.5.1)
Report Creator (reports - v0.3)
RRD File Cleaner (RRD Cleaner - v0.34)
Syslog Monitoring (syslog - v0.5.2)
Configuration manager (configmanager - v0.75)
Update Checker (update - v0.4)
Uptime (uptime - v0.3)[/list][/quote]
[b]Plugin Architecture[/b] - 2.0
[b]Poller Type[/b] - Spine v
[b]Plugins[/b][list]Device Monitoring (monitor - v0.8.2)
Global Plugin Settings (settings - v0.3)
Thresholds (thold - v0.3.9)
Host Info (hostinfo - v0.2)
PHP Network Weathermap (weathermap - v0.941)
Poller Performance Report (pollperf - v0.32)
IP subnet Calculator IPv4 IPv6 (ipsubnet - v.4c)
PHP Network Managing (manage - v0.5.1)
Report Creator (reports - v0.3)
RRD File Cleaner (RRD Cleaner - v0.34)
Syslog Monitoring (syslog - v0.5.2)
Configuration manager (configmanager - v0.75)
Update Checker (update - v0.4)
Uptime (uptime - v0.3)[/list][/quote]
Ah correct. The script only reindexes when the number of processes changes. So if you terminate a process and then start it up again, cacti won't properly poll it until the process count changes.
The only work-around I know of is to change the reindex method to always. It's more expensive. Can you think of another way cacti would know when to reindex a device?
The only work-around I know of is to change the reindex method to always. It's more expensive. Can you think of another way cacti would know when to reindex a device?
| 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 3 guests