Hello, check_disk is actually working as expected, it needs to be executed on the monitored host. For that, it needs some kind of broker software, like check_by_ssh or NRPE or SNMP.
You will find a lot of examples to use one those 3 possibilities. Regards Oliver 2018-05-30 11:46 GMT+02:00 soumaya saddi <soumaya.sa...@gmail.com>: > Hello, > > I am writing to you today in order to solve the check_disk issue I am > having. I am using Icinga2 as a monitoring solution and I would like to > check the disk of my monitored hosts. > > The issue with the check_disk plugin is that it doesn't take any ip > address as an input/parameter. So when I check the disk of a host it > actually check the disk of my local machine which is the monitoring server > and not the host I want to monitor. > > Is there a way to modify this plugin in order to make the check on the > hosts and not on my local machine? > > I tried to modify the check_disk script but I found out it is a binary > file :( > > I hope to hear soon from you and thank you so much. > > Faithfully yours > > Soumaya SADDI > > >