Error services : Migrate centreon 21.10.16 to 24.04.5
Hello everyone !Last week I updated Centreon 21.10.16 to version 24.04.5 on a new machine running Debian 11I noticed small things that I was able to correct, however I still have one last thing chosen, all my services are unknown and impossible to make it work.
After seeing the error message, I looked in the /usr/lib64/nagios/plugins folder and unfortunately I don't have this command in this example (I also looked in the /usr/ file lib64/nagios/plugings but still nonexistent) I'm starting to run out of ideas, can you help me?Sincerely
Page 1 / 1
Hello,
check_snmp_win.pl is provided by the package nagios-snmp-plugins
You can install it with this command
sudo apt install nagios-snmp-plugins
Also, the plugin will be installed in the /usr/lib/nagios/plugins/ folder, not /usr/lib64/nagios/plugins/ (This was the case for me)
You will need to change the nagios plugin path on your Centreon UI (Configuration > Pollers > Ressources)
And then export the configuration on your pollers
Hope it helps
Hey vcoum !Listen, I managed to unlock about a hundred out of 500 and I thank you for that.I always blocked like for example PING or RAM, do you have any idea?
Do you know what commands those services uses?
Check if they are all presents on Central AND pollers
I just checked for ping and indeed, it does not exist
Hello @Undef1ned
I didn’t find this plugin check_centreon_ping in our repository, maybe it is an old plugin we deprecated, and you are using an old command that was not migrated.
Can you show us for this service :
the host template your host is linked to (in configuration>hosts you have the name, then in configuration>host template you have the detail of it)
the service template (in configuration>service to find the name then in configuration>service template search for the name without ‘custom’ at the end. Find the command it use)
the command used (please include the full command line configured)
the monitoring connector (plugin pack) which it depend from
Have a good day,
Evan
Hello @evanadam
Here is the image capture of Configuration > Host
As well as that of configuration > Service
and finallly here is the entire command
thank you for your feedback !
I think you confused a ‘centreon command’ (in you case check_centreon_ping) with the binary it execute (in your case check_icmp)
check_icmp is part of the main debian repo in the package monitoring-plugins-basic.
Please install it and try again.
Also, can you check you don’t have any error in the file /var/log/centreon-gorgone/gorgoned.log since your installation ?
Gorgone is the service that push configuration from central to poller, and install plugin when a monitoring connector is installed, so it should have installed this package.
Have a good day,
Evan
Yes indeed, I tried to open but there are special characters so I put the central command on.For the "monitoring-plugins-basic" package, I already have it installed on DebianI had never looked at the log file and indeed, it always gives me an error message like this:
Thanks !
for the plugin I’m not sure to understand, if you have it you should be able to have some output in the web interface normally, can you show it ?
for gorgone you don’t have the db configured, here what your gorgone conf should look like.
If you have other problem on gorgone I recommand you setup a test centreon in 24.04 and see if you have any other disparity between your gorgone conf from the standard one.
Hi,I looked at your screen, in centreon/conf.d/10XXX I actually didn't have the right account for my databaseOn the other hand, I do not have the 30-centreon.yaml file in /centreon-gorgone/conf.dFor your first message, when I open the file in ssh with VIM or SUDO, I see special charactersThanks !
the 30-centreon.yml should be created by the centreon-gorgone-centreon-config package, which is a dependancy of centreon-gorgone.
Can you check apt for any broken dependancy ?
For the special character it’s normal, the file is a C binary file which is compiled. can you check it’s permission and show the result you have in centreon for this service ?
Good morning !I found my problem, during the migration, the rights changed and after giving the correct rights, everything is goodTHANKS !