alexwoehr / nagios2cacti

Automatically exported from code.google.com/p/nagios2cacti
GNU General Public License v2.0
0 stars 0 forks source link

Max OIDS is out of range with value of '0' for the new hosts in cacti #9

Open maraev opened 8 years ago

maraev commented 8 years ago

Hello! I use the case where nagios and cacti locate in different servers. So, I have a question: When i sent the data from nagios to cacti (port 2080), the cacti's n2rrd created a host as cacti device and create the data source as well. But then, I got the message in the Cacti Log File like: SPINE: Poller[0] Host[1236] TH[1] WARNING: Max OIDS is out of range with value of '0'. Resetting to default of 5 and poller didn't draw any graphs of this host. How to fix it?What's wrong?

Busindre commented 7 years ago

Hi maraev, Try changing the value of this option in Cacti.

Cacti > Settings > The Maximum SNMP OID’s Per SNMP Get Request

Also try what happens with this change in the Cacti database. Possibly this will avoid the error as long as you do not add more hosts to cacti.

use cacti
update host set max_oids=1 where max_oids=0