@korandji do you have a particular question? have you tried?
/usr/lib/centreon/plugins/centreon_linux_local.pl --plugin=os::linux::local::plugin --mode=systemd-sc-status
OK: Total Running: 36, Total Failed: 0, Total Dead: 89, Total Exited: 21 - All services are ok | 'total_running'=36;;;0;209 'total_failed'=0;;;0;209 'total_dead'=89;;;0;209 'total_exited'=21;;;0;209
or --help
/usr/lib/centreon/plugins/centreon_linux_local.pl --plugin=os::linux::local::plugin --mode=systemd-sc-status --help
I would like to have the procedure to monitor a host with the linx nrpe3.
I looked at the tutorial available on the site but I don't understand anything.
1- what do I need to install on the centreon server and how to configure it.
2- what do I need to install on the client and how to configure it
Thanks
Hi all,
Centreon 22.10 on an uptodate Debian 11 using 2 repositories:
deb https://apt.centreon.com/repository/22.10/ bullseye main
deb https://apt.centreon.com/repository/22.10-plugin-packs/ bullseye main
the centreon-nrpe3-plugin can not be found !
What the hell did I miss?
Regards,
Hi @Fabien34 can use :
nagios-nrpe-plugin
sudo apt show nagios-nrpe-plugin
Package: nagios-nrpe-plugin
Version: 4.0.3-1
Hi @Fabien34 can use :
nagios-nrpe-plugin
Ok thanks, so I guess I should remove the nrpe3 plugin pack.
Hi, you can keep the plugin pack we just kept the nrpe3 (number) but all should work. Let us know either way.
Hello,I am confused too !How to implement NRPE 4 on Debian?I tried with the nagios-nrpe-server package and with the linux-nrpe-agent.tar sources (cf .https://support.nagios.com/kb/article/nrpe-how-to-install-nrpe-8.html ) but errors occured with the check commands !
For example:
>CENTREON_CENTRAL] /usr/lib/nagios/plugins/check_nrpe -H NRPE_SERVER -p 5666 -t 30 -u -c check_centreon_plugins -a 'os::linux::local::plugin' 'cpu'
eNRPE_SERVER] systemctl status nagios-nrpe-server
nrpep27333]: Error: Request contained command arguments!
nrpep27333]: Client request from 172.23.202.207 was invalid, bailing out...