Hi All,
hoping someones got some light on this error i’m seeing every so often...
I monitor one of our Mailcleaners (http://www.mailcleaner.org) and every time I restart the mailcleaner service or the mailcleaner itself i get the following message in Observium
System snmpEngineID changed: 80001F8880BF0033479D178E5300000000 -> 80001F8880DC0B531E1F92915300000000 (probably the device was replaced). The device will be rediscovered.
if i look in my snmpd.conf all i see is the following
com2sec local 127.0.0.1 mailcleaner com2sec local X.X.X.X mailcleaner com2sec local 127.0.0.1 mailcleaner group MyROGroup v1 local group MyROGroup v2c local group MyROGroup usm local view all included .1 80 access MyROGroup "" any noauth exact all none none exec getmsgs /usr/mailcleaner/bin/get_today_stats.pl -m exec getspams /usr/mailcleaner/bin/get_today_stats.pl -s exec getbytes /usr/mailcleaner/bin/get_today_stats.pl -b exec getvirus /usr/mailcleaner/bin/get_today_stats.pl -v exec getstatus /usr/mailcleaner/bin/get_status.pl -s exec getspools /usr/mailcleaner/bin/get_status.pl -p exec getload /usr/mailcleaner/bin/get_status.pl -l exec getdisks /usr/mailcleaner/bin/get_status.pl -d exec getmem /usr/mailcleaner/bin/get_status.pl -m exec getstats /usr/mailcleaner/bin/get_today_stats.pl -B perl push (@INC, "/usr/mailcleaner/lib"); require SNMPAgent; SNMPAgent->init(); syslocation XXXXX syscontact XXXXX disk / 100000 disk /var 100000 #This line allows Observium to detect the host OS if the distro script is installed ( ADDED MANUALLY ) extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro
Anyone have any ideas how I can clear this error or get rid of it ?
Regards
Simon
Hi,
On 06.06.2014 14:26, Simon Smith wrote:
Hi All,
hoping someones got some light on this error i’m seeing every so often...
I monitor one of our Mailcleaners (http://www.mailcleaner.org) and every time I restart the mailcleaner service or the mailcleaner itself i get the following message in Observium
System snmpEngineID changed: 80001F8880BF0033479D178E5300000000 -> 80001F8880DC0B531E1F92915300000000 (probably the device was replaced). The device will be rediscovered.
this is correct behavior if snmpEngineID changed. In normal situations (like reboot) snmpEngineIDshould not be changed. Usually this means that the device has been replaced and need to rediscover it.
if i look in my snmpd.conf all i see is the following
com2sec local 127.0.0.1 mailcleaner com2sec local X.X.X.X mailcleaner com2sec local 127.0.0.1 mailcleaner group MyROGroup v1 local group MyROGroup v2c local group MyROGroup usm local view all included .1 80 access MyROGroup "" any noauth exact all none none exec getmsgs /usr/mailcleaner/bin/get_today_stats.pl -m exec getspams /usr/mailcleaner/bin/get_today_stats.pl -s exec getbytes /usr/mailcleaner/bin/get_today_stats.pl -b exec getvirus /usr/mailcleaner/bin/get_today_stats.pl -v exec getstatus /usr/mailcleaner/bin/get_status.pl -s exec getspools /usr/mailcleaner/bin/get_status.pl -p exec getload /usr/mailcleaner/bin/get_status.pl -l exec getdisks /usr/mailcleaner/bin/get_status.pl -d exec getmem /usr/mailcleaner/bin/get_status.pl -m exec getstats /usr/mailcleaner/bin/get_today_stats.pl -B perl push (@INC, "/usr/mailcleaner/lib"); require SNMPAgent; SNMPAgent->init(); syslocation XXXXX syscontact XXXXX disk / 100000 disk /var 100000 #This line allows Observium to detect the host OS if the distro script is installed ( ADDED MANUALLY ) extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro
Anyone have any ideas how I can clear this error or get rid of it ?
I suspect in that this line are generated snmpEngineID on every snmp agent restart (and reboot): perl push (@INC, "/usr/mailcleaner/lib"); require SNMPAgent; SNMPAgent->init();
you can hardcode the end snmpd.conf: # specifies that the engineID should be built from the MAC address engineIDType 3
# or specifies that the engineID should be built from the given text STRING # engineID STRING # for example: # engineID 80001F8880DC0B531E1F92915300000000
Regards
Simon
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Mike Stupalov
-
Simon Smith