Skip to main content

i want to use Host Discovery.

All is installed.


I Created a SNMP Agent Task, start the task immendiately.

But - nothing. Status: Clock

when i start the command on my commando shell, is working

/usr/lib/centreon/plugins/centreon_generic_snmp.pl --plugin=os::linux::local::plugin --mode=discovery-snmp --subnet='10.239.20.65/27' --snmp-community='public' --snmp-version=2 --prettify

{
   "end_time" : 1656418938,
   "start_time" : 1656418930,
   "duration" : 8,
   "discovered_items" : 22,
   "results" : e
      {
         "snmp_version" : "2",
         "ip" : "10.236.20.66",
         "desc" : "Linux CES01 3.10.0-1160.66.1.el7.x86_64 #1 SMP Wed May 18 16:02:34 UTC 2022 x86_64",
         "hostname" : "CES01",
         "type" : "linux",
         "snmp_port" : 161,
         "snmp_community" : "CpsnMp0220"
      },

are there log files somewhere why it does not work

 

Thanks

Hi,

 

Check /var/log/centreon-gorgone/gorgoned.log, you’ll probably find more information. 

 

Most of the time, this is because of wrong credentials in /etc/centreon-gorgone/config.d/31-centreon-api.yaml file. 

 


wrong credentials in /etc/centreon-gorgone/config.d/31-centreon-api.yaml file.  ;)

 

Perfect.

 

Thanks ;)


Reply