|
|
| Author |
Message |
marcioq Beginner
Joined: 28 Sep 2004 Posts: 8 Location: Brazil
|
Posted: Wed May 11, 2005 3:44 pm Post subject: Different Pooling Interval and sleep parameter in netmrg.xml |
|
|
Hi,
looking in the netmrg.xml i saw the following line
<polling>
<interval>300</interval>
</polling>
It's possible to pool the devices every 10 minutes, for example, by changing the crontab and putting 600 on the above parameter ? It will graph with the correct average and stuff ? It will create the rrd's whith the correct polling interval ?
Another question, is about the sleep parameter on threads. I have two boxes with netmrg 0.18.2 . One is a new installation, and the other i make all upgrades from version 0.13 to 0.18. In one i haver the sleep parameter and on the other i don't. What this parameter do ? Because both are working fine.
Thanks in advance |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Thu May 12, 2005 3:10 pm Post subject: |
|
|
As long as things you're monitoring are counters you should be fine. Very often things like interfaces are counters and will be smoothed out over the 10 minutes fine (although this is quite a large time period). Gauages on the other hand (things like CPU usage, load average) are instantanious values and will not be "smoothed out".
I'd be curious to know why you want to run it at such a long time period; you're going to loose a lot of detail running it that long, and not gaining much in terms of CPU cycles or bandwidth. As an example, we use < 10K of bandwidth at my work doing 3000 SNMP tests and 2000 SQL tests, and about 20% CPU on a dual-1.2GHz machine. We run every 300 seconds.
-Doug |
|
| Back to top |
|
 |
marcioq Beginner
Joined: 28 Sep 2004 Posts: 8 Location: Brazil
|
Posted: Fri May 13, 2005 12:00 am Post subject: |
|
|
Actualy, i want to pool every 1 minute or even 30 seconds(using sleep on the crontab). If i do this it will work ok if i chang the pool interval in the xml ?
Also, it is possible to install 2 different NETMRG on the same machine ? Each one with a different database, user and crontab ?
It would be interings if netmrg could support different pooling intervals for the hosts ? Do you think this could be a future upgrade ?
tks's |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Mon May 16, 2005 12:41 pm Post subject: |
|
|
| marcioq wrote: |
| Actualy, i want to pool every 1 minute or even 30 seconds(using sleep on the crontab). If i do this it will work ok if i chang the pool interval in the xml ? |
This shouldn't be a problem. Just make sure you delete any RRD files that have been created with this instance as you won't get the resolution you want otherwise.
| marcioq wrote: |
| Also, it is possible to install 2 different NETMRG on the same machine ? Each one with a different database, user and crontab ? |
Also shouldn't be a problem. Just make sure you point both the gatherer and the config.php file to the correct netmrg.xml file. If you install from source this should already be done.
| marcioq wrote: |
| It would be interings if netmrg could support different pooling intervals for the hosts ? Do you think this could be a future upgrade ? |
Yes, we are hoping for this to happen in a future version, but it's not certain when it will happen.
-Doug |
|
| Back to top |
|
 |
|