My monitoring box is a retrofitted cobalt raq3, which was not a powerful machine, even when it was new.
I'm now monitoring a load of machines, each with dozens of services, with cacti (for graphing purposes) and nagios (for alerting).
However, the huge number of snmpgets is killing the machine. snmpget has to read in over a meg of SNMP MIB files each time it's started up. And, cacti seems to call it in parallell, so I've a constant load of around five.
Is there any plans to make cacti use the PHP versions of the snmpget calls? This would reduce overhead immensely...
snmpgets are hammering my box
Moderators: Developers, Moderators
Cacti can already do this
You basically either need to compile SNMP support into the PHP binary, or install the php-snmp package on binary distributions.
About compiling the PHP binary with SNMP support, I mention how to do it here:
http://www.raxnet.net/board/viewtopic.php?p=1054#1054
Once this is complete, cacti should automatically detect the presence of this module. If not, it can always be forced on in 'include/config.php' line 59.
-Ian
You basically either need to compile SNMP support into the PHP binary, or install the php-snmp package on binary distributions.
About compiling the PHP binary with SNMP support, I mention how to do it here:
http://www.raxnet.net/board/viewtopic.php?p=1054#1054
Once this is complete, cacti should automatically detect the presence of this module. If not, it can always be forced on in 'include/config.php' line 59.
-Ian
-
- Posts: 32
- Joined: Thu Aug 15, 2002 10:29 am
- Location: ct
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest