Skip to main content
Question

Upgrade 24.10 to 25.10, ping status UNKNOWN

  • February 19, 2026
  • 3 replies
  • 5 views

wackou
Forum|alt.badge.img+6

Hello,

I have a strange behavior regarding the “ping” command.

The command return that the host is down but the status displayed is “UNKNOW” instead of “CRITICAL”, is it a bug or a bad configuration due to upgrade from 24.10 to 25.10 ?

The test in SSH return the good status.

 

3 replies

Forum|alt.badge.img+11

Can you append 

; echo "exited with $?"

to your command, that way you can see the command exit code.

I believe this script is the check icmp from nagios, so maybe for some reason it returns unknown since an update ?


wackou
Forum|alt.badge.img+6
  • Author
  • Steward **
  • February 20, 2026

I have the following code

CRITICAL - XXXXXXXXXXXXX: Host unreachable @ XXXXXXX. rta nan, lost 100%|rta=0.000ms;200.000;400.000;0; pl=100%;20;50;; rtmax=0.000ms;;;; rtmin=0.000ms;;;;
exited with 2
 

 

Error 2 mean critical.

This plugin was not updated since january 2024, what kind of ping/icmp should I use if this one is too old ?

Base-Ping-LAN-custom use the command base_centreon_ping

This command use is locked and defined as the following :

$USER1$/check_icmp -H $HOSTADDRESS$ -n $_SERVICEPACKETNUMBER$ -w $_SERVICEWARNING$ -c $_SERVICECRITICAL$ -b $_SERVICEPACKET_SIZE$ $_SERVICEEXTRAOPTIONS$

$USER1$ point to /usr/lib64/nagios/plugins

I’m wondering if its not a issue ? Look like the web interface didn’t understand correctly the ouput of the command.

Thanks


wackou
Forum|alt.badge.img+6
  • Author
  • Steward **
  • February 20, 2026

On a fresh installation using the VM template (Virtualbox), the ping with the same exact command is working as expected.
So there is something wrong during the migration from 24.10 to 25.10 as the webui seems to not understand (or there is a missing right somewhere) the output of the plugin and then display a UNKNOW status instead of critical.

Same command is used (locked) with the same binary 

 $USER1$/check_icmp -H $HOSTADDRESS$ -n $_SERVICEPACKETNUMBER$ -w $_SERVICEWARNING$ -c $_SERVICECRITICAL$ -b $_SERVICEPACKET_SIZE$ $_SERVICEEXTRAOPTIONS$