In the device, under associated data queries.Discogalaxy wrote:Where to do that?Is the Re-Index Method set to Index Count Changed or Verify All Fields ?
Win32 - Monitor running processes
Moderators: Developers, Moderators
| 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: 20
- Joined: Sat Feb 25, 2006 4:51 am
- Location: Germany
- Contact:
Very small CPU time seems pointless to graph
Is there an easy way to disregard CPU values of say, less than 1% using a CDEF or similar? How about rounding results to the nearest whole number?
Can anyone point me in the right direction with how I might do this?
Thanks in advance
Can anyone point me in the right direction with how I might do this?
Thanks in advance
Re: Very small CPU time seems pointless to graph
Modify the data template and change the min value to 1 (or whatever you want). You'll have to either run rrdtool tune on the associated rrd files or delete them so they're remade.Dr.J wrote:Is there an easy way to disregard CPU values of say, less than 1% using a CDEF or similar? How about rounding results to the nearest whole number?
As for rounding, change how they're displayed in the graph template.
| 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 |
1) did you add the xml script to the correct folder?
2) did you add the associated template to a windows host?
3) does it return any rows when you click on verbose query?
4) did you go to the 'create graphs' screen and select the processes you wanted graphed?
5) did you wait 10 minutes before looking at the newly created graphs?
2) did you add the associated template to a windows host?
3) does it return any rows when you click on verbose query?
4) did you go to the 'create graphs' screen and select the processes you wanted graphed?
5) did you wait 10 minutes before looking at the newly created graphs?
| 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 |
Hi BSOD2600,
This mod looks really interesting... few questions before I implement.
1)
If my IIS servers have multiple Application Pools how will this mod handle more then one IIS worker process? After reading all 10 pages on this topic it seems the mod grabs the first process it finds and graphs until a reindex is completed. Any ideas to monitor many processes that have the same name? (I read that monitoring on PID will _work_ until the PID changes...you explained the limitations of this approach earlier)
2)
Thanks a lot!
This mod looks really interesting... few questions before I implement.
1)
If my IIS servers have multiple Application Pools how will this mod handle more then one IIS worker process? After reading all 10 pages on this topic it seems the mod grabs the first process it finds and graphs until a reindex is completed. Any ideas to monitor many processes that have the same name? (I read that monitoring on PID will _work_ until the PID changes...you explained the limitations of this approach earlier)
2)
How will performance be affected if I am polling ~150servers every 5mins?BSOD2600 wrote:"An inefficient way to fix this is to change the reindex method to verify all fields; that way cacti will reindex it every polling cycle. "
Thanks a lot!
:: FreeBSD6.2 - Apache 1.3.37+mod_ssl - PHP 5.2.1 - MySQL 5.0 ::
Sounds like you've got a good idea how the script works. Correct, since the script uses an snmp xml script to query the hrSWRunIndex and hrSWRunName of computer, we have two options for keeping track of a process. If we go by name, then the script picks up the first instance of hrSWRunName. This works great for unique instances of processes. As you've already outlined (along with other users) the problem arises if one wants to monitor multiple instances of the same hrSWRunName. Since the hrSWRunIndex is actually the processes PID, we have the option to explicitly monitor a process by that instead. Of course then we have the problem of if the process's PID changes (as they do on termination/execution), then the script no longer queries the correct/valid PID. This requires one to manually fix it in Cacti.maw wrote:..it seems the mod grabs the first process it finds and graphs until a reindex is completed. Any ideas to monitor many processes that have the same name? (I read that monitoring on PID will _work_ until the PID changes...you explained the limitations of this approach earlier)
I have yet to find a way to fix this while still utilizing SNMP xml queries. If you do, let me know.
Not entirely sure, but it will force cacti to snmpwalk/snmpnextget a large subset of OIDs (snmpwalk .1.3.6.1.2.1.25.4.2.1 to see yourself). You could enable recaching on a host or two, look in the cacti log how long recaching takes and then extrapolate the time cost for ~150 servers.maw wrote:How will performance be affected if I am polling ~150servers every 5mins?
My slow ass cacti server takes ~2 seconds to recache a single windows host for it's processes, utilizing the cmd.php poller.
| 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 |
*
all template i try anyone work
My config :
cacti_data_template_snmp_running_process_info.xml
cacti_graph_template_snmp_running_proc_info.xml
2/ i copy files here:
/var/www/html/cacti/resource/snmp_queries
-rw-r--r-- 1 1000 users 1847 mai 13 00:27 win32_procs.xml
3/ and in my cacti interface :
in debug mode :
please help
all template i try anyone work
My config :
1 / i import on the cacti web :| Cacti 0.8.6j |
| MySQL ? | PHP ? | httpd | RRDtool 1.2.15 |
| RedHAT 4es | P4 3000Mhz | 512MB |
cacti_data_template_snmp_running_process_info.xml
cacti_graph_template_snmp_running_proc_info.xml
2/ i copy files here:
/var/www/html/cacti/resource/snmp_queries
-rw-r--r-- 1 1000 users 1847 mai 13 00:27 win32_procs.xml
3/ and in my cacti interface :
in debug mode :
what do you think please?Data Query Debug Information
+ Running data query [12].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/win32_procs.xml'
+ Error parsing XML file into an array.
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/win32_procs.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/win32_procs.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/win32_procs.xml'
please help
- Attachments
-
- and in my cacti interface :
- 00.jpg (95.17 KiB) Viewed 8522 times
This script only works against Windows.
| 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 |
???
he exist a difference betwen cacti on linux and cacti on windows?
he exist a difference betwen cacti on linux and cacti on windows?
|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)
he is so good template
thanks too
in a service graph you have :
-CPU usage
-memmory usage
and i need one more information:
i need how many process X running
someone can help me to make it in this template??
thanks too
in a service graph you have :
-CPU usage
-memmory usage
and i need one more information:
i need how many process X running
someone can help me to make it in this template??
|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)
Cacti already comes with a template for Windows systems for this.Mika2006 wrote:i need how many process X running
| 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 |
yes i knwo but is all process
and i need by process
like this
?
and i need by process
like this
Code: Select all
2 process matching EXCEL.EXE (> 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)
Who is online
Users browsing this forum: No registered users and 1 guest