Different Pooling Interval and sleep parameter in netmrg.xml

marcioq

11-05-2005 11:44:18

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

silfreed

12-05-2005 11:10:51

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

marcioq

12-05-2005 20:00:40

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

silfreed

16-05-2005 08:41:47

[quoteb4c759452d="marcioq"]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 ? [/quoteb4c759452d]
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.

[quoteb4c759452d="marcioq"]Also, it is possible to install 2 different NETMRG on the same machine ? Each one with a different database, user and crontab ?[/quoteb4c759452d]

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.

[quoteb4c759452d="marcioq"]It would be interings if netmrg could support different pooling intervals for the hosts ? Do you think this could be a future upgrade ?[/quoteb4c759452d]

Yes, we are hoping for this to happen in a future version, but it's not certain when it will happen.

-Doug