wernerfred / check_synology

This plugin will check a lot of different values on your Synology DiskStation.
MIT License
17 stars 25 forks source link

icinga2 showing Synology as "Down" but all checks are working and returning correct values #12

Open Lux-WorldPC opened 3 years ago

Lux-WorldPC commented 3 years ago

I am new to Icinga icinga2 is showing Synology as "Down" but all checks are working and returning correct values with only check_command = "hostalive" Synology as "UP" as soon as I add or change to check_command = "check_synology" Synology as "Down" thx for help

Screenshot 2021-04-15 at 13 13 29 Screenshot 2021-04-15 at 13 13 19

wernerfred commented 3 years ago

Hey :)

So you added the checks and they work properly but all checks show your host with hint (DOWN) ist that correct/your problem? I'm not sure how I can assist you here. Maybe you can share your Service and CheckCommand definition and someone can spot an issue there.

Lux-WorldPC commented 3 years ago

hello. many thx for quick reply here is the conf

conf.txt

wernerfred commented 3 years ago

I cannot spot any error in your configuration file. The checks are working as they should. Why do you use check_Synology to test the availability of the host? Use hostalive or ping there. It is the check command of the host, the services will use the check_synology either way.