Skip to main content
Solved

No "/usr/lib/nagios/plugins/check_icmp" file and Name resolution problem

  • December 5, 2023
  • 5 replies
  • 787 views

Forum|alt.badge.img+3

Hi there !

 

> For the very first time, I installed Centron on Debian 11, and tried to monitor a Windows 11 host.

Theoretically, SNMP is installed and configured on both parts (Package downloaded on Centreon et Service Up + configured on Host)

 

Obviously, the “check_icmp” files dosen’t exist.

Neither does “/nagios” directory in “/usr/lib”.

 

Indeed, I tried to execute the command directly from the CLI as centreon-engine user, output :

 

I tried “ls /usr/lib/nagios/plugins/check_icmp”

Output :

It says “No such files or directory”...

 

...while on Centreon Web, in “Configuration > Pollers > Resources”, everything looks pretty fine :

Also, there is “/nagios” in “/usr/lib64/” but no “/plugins” directory..

 


> Moreover, on Debian, I have some issues with names resolution even after I checked “resolv.conf” file :

“nameserver XXX.XXX.XXX.XXX” is our DNS, so I don’t get it…

 

I installed resolvconf program, and added into it my host’s name and IP address, restarted “resolvconf.service”.

Now, my host’s name can be resolved but not other equipments’ name on the same LAN.

 

Where am I wrong ?
Or what am I missing ?

 

Thank you in advance for your help.

 

KR,

 

Julius

Best answer by eseyman

Hello, Julius.

The /usr/lib/nagios/plugins/check_icmp file is supplied by the package monitoring-plugins-basic in Debian. you will need to install it to have the file present on your drive.

5 replies

Forum|alt.badge.img+3
  • Author
  • Steward *
  • December 6, 2023

The names resolution part is done

 

But still trigger with the check command


Forum|alt.badge.img+3
  • Author
  • Steward *
  • December 7, 2023

Well,

 

I created myself the /nagios/plugins directories in /usr/lib/

 

Then I created the check_icmp file in /usr/lib/nagios/plugins/.

 

Now, when I manually launch the check-command with centreon-engine user on Debian, I no longer have error.

 

But, on Centreon Web, the check command still has its error.


Forum|alt.badge.img+6
  • Steward **
  • Answer
  • December 11, 2023

Hello, Julius.

The /usr/lib/nagios/plugins/check_icmp file is supplied by the package monitoring-plugins-basic in Debian. you will need to install it to have the file present on your drive.


Forum|alt.badge.img+3
  • Author
  • Steward *
  • December 18, 2023

Hi Eseyman,

 

Thanks a lot for your answer !

I’ve found this nowhere !


Forum|alt.badge.img+2
  • Steward *
  • January 15, 2024

Hi Eseyman,

 

Thanks a lot for your answer !

I’ve found this nowhere !

Hello Julius,

 

Did you solve it? I am facing this problem now.