ERROR: Received noSuchName(2) error-status at error-index 1.

Sometimes, after restarting all the Centreon-related services (Mysqld, Centcore, Centstorage, ndo2db, Nagios, Apache), you may have a long listing of error messages in the UNKNOWN status such as :

ERROR: Received noSuchName(2) error-status at error-index 1.

ERROR: Received noSuchName(2) error-status at error-index 4.

It concerns all the information monitored through SNMP. One solution to wipe them out of your Centreon dashboard is to stop all the Centreon-related services. Then, delete all the files contained in /var/lib./centreon/centplugins/:

root@localhost:~# rm -rf /var/lib/centreon/centplugins/*

Then restart Centreon and everything should be nice again.

Advertisements

One thought on “ERROR: Received noSuchName(2) error-status at error-index 1.

  1. I found that this was actually related to an empty file in that directory. It’s simply a cache file used by the script, and if it’s empty the script fails. So you really only need to delete the files that have zero size.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s