|
|
| Author |
Message |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6662 Location: WA, USA
|
Posted: Tue Jan 30, 2007 1:48 pm Post subject: |
|
|
| Discogalaxy wrote: | | Quote: | | Is the Re-Index Method set to Index Count Changed or Verify All Fields ? |
Where to do that? |
In the device, under associated data queries.
|
|
| Back to top |
|
 |
Discogalaxy
Joined: 25 Feb 2006 Posts: 20 Location: Germany
|
Posted: Wed Jan 31, 2007 12:28 am Post subject: |
|
|
Oh, i must be bilnd
I searched and searched....
Thx for info
nice script by the way
|
|
| Back to top |
|
 |
Dr.J
Joined: 11 Feb 2007 Posts: 1
|
Posted: Sun Feb 11, 2007 10:08 pm Post subject: 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
|
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6662 Location: WA, USA
|
Posted: Mon Feb 12, 2007 11:00 am Post subject: Re: Very small CPU time seems pointless to graph |
|
|
| 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? |
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.
As for rounding, change how they're displayed in the graph template.
|
|
| Back to top |
|
 |
esimon
Joined: 15 Feb 2007 Posts: 1
|
Posted: Thu Feb 15, 2007 6:09 am Post subject: problem |
|
|
it don't work
Can you help me please
I import all graph
i copy win32_procs.ml
i create data query but where you change re-index
thank you
|
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6662 Location: WA, USA
|
Posted: Thu Feb 15, 2007 11:30 am Post subject: |
|
|
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?
|
|
| Back to top |
|
 |
maw
Joined: 07 Mar 2007 Posts: 33 Location: Vancouver, Canada
|
Posted: Wed Mar 07, 2007 7:11 pm Post subject: |
|
|
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) | 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. " |
How will performance be affected if I am polling ~150servers every 5mins?
Thanks a lot!
|
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6662 Location: WA, USA
|
Posted: Wed Mar 07, 2007 8:12 pm Post subject: |
|
|
| 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) |
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.
I have yet to find a way to fix this while still utilizing SNMP xml queries. If you do, let me know.
| maw wrote: | | How will performance be affected if I am polling ~150servers every 5mins? |
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.
My slow ass cacti server takes ~2 seconds to recache a single windows host for it's processes, utilizing the cmd.php poller.
|
|
| Back to top |
|
 |
mktoon
Joined: 13 Feb 2007 Posts: 2
|
Posted: Tue Apr 03, 2007 3:44 am Post subject: |
|
|
Hello, anyone know how to intergrate this with Thold to monitor a process if it stops and send an email to the admin?
Thanks a lot
|
|
| Back to top |
|
 |
Mika2006 Cacti User
Joined: 03 May 2007 Posts: 165
|
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6662 Location: WA, USA
|
Posted: Tue May 15, 2007 12:02 pm Post subject: |
|
|
| This script only works against Windows.
|
|
| Back to top |
|
 |
Mika2006 Cacti User
Joined: 03 May 2007 Posts: 165
|
Posted: Tue May 15, 2007 2:47 pm Post subject: |
|
|
???
he exist a difference betwen cacti on linux and cacti on windows?
|
|
| Back to top |
|
 |
Mika2006 Cacti User
Joined: 03 May 2007 Posts: 165
|
Posted: Thu May 24, 2007 9:44 am Post subject: |
|
|
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??
|
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6662 Location: WA, USA
|
Posted: Thu May 24, 2007 12:15 pm Post subject: |
|
|
| Mika2006 wrote: | | i need how many process X running |
Cacti already comes with a template for Windows systems for this.
|
|
| Back to top |
|
 |
Mika2006 Cacti User
Joined: 03 May 2007 Posts: 165
|
Posted: Fri May 25, 2007 5:48 am Post subject: |
|
|
yes i knwo but is all process
and i need by process
like this
| Code: |
2 process matching EXCEL.EXE (> 0)
|
?
|
|
| Back to top |
|
 |
|