Solved

Test Ping différent entre Host et Service

  • 30 August 2023
  • 2 replies
  • 503 views

Userlevel 1
Badge +7

Bonjour,

lorsque j’ajoute un host (réseau, serveur ...), je vois sur le host un test de Ping :

/usr/lib64/nagios/plugins/check_icmp

-H 10.1.2.3

-w 3000.0,80%

-c 5000.0,100%

-p 1

Et dans la liste de services, un autre test de Ping :

/usr/lib64/nagios/plugins/check_icmp

-H 10.1.2.3

-n 4

-w 1000,40%

-c 4000,80%

Les valeurs sont différentes.

 

Autant je sais modifier le service Ping, autant je ne sais pas comment modifier le test de ping sur le host.

Voici ma question : peut-on modifier le test de ping sur le host ?

Merci,

icon

Best answer by Laurent 31 August 2023, 09:35

View original

2 replies

Userlevel 6
Badge +18

Hi @pierre1, you have to go to “Configuration > Commands > Checks”, and create a new check command based on “base_host_alive”. Then edit the “generic-active-host-custom” host template and select your new command to apply changes on all hosts inheriting from this template.

Userlevel 1
Badge +7

Thank you Laurent !

Reply