How to do remote checks using check_disk
Majumdar, Prasoon
Prasoon.Majumdar at colt.net
Fri May 29 13:02:28 CEST 2015
Using Icinga2 with this :
apply Service for (disk => config in host.vars.local_disks) {
import "generic-service"
check_command = "disk"
vars += config
vars.disk_wfree = "10%"
vars.disk_cfree = "5%"
command_endpoint = host.vars.remote_client
assign where host.vars.remote_client
}
object Host "rad1.blr.lab.colt.net" {
import "generic-host"
address = "10.91.118.124"
address6 = "::1"
vars.os = "Linux"
vars.remote_client = "rad1. net"
vars.local_disks["basic-partitions"] = {
disk_partitions = [ "/", "/tmp", "/var", "/home" ]
/* host specific check arguments */
vars.users_wgreater = 10
vars.users_cgreater = 20
}
}
It's not working out for me. IN the monitoring pane,, all the checks are fine except this one, throwing like ::
UNKNOWN
Since 15:29 Service: basic-partitions
Service detail information
Plugin Output
execvpe(/usr/lib64/nagios/plugins/check_disk) failed: No such file or directory
Very strange, the plugindir in Incinga2 is very well defined in the constants.conf and still this pluging is not able to detect it. Can this be fixed.
Regards
Prasoon Majumdar
[Colt Disclaimer]
This email is from an entity of the Colt group of companies. Colt Group S.A.,
K2 Building, Forte 1, 2a rue Albert Borschette, L-1246 Luxembourg, R.C.S.
B115679. Corporate and contact information for our entities can be found at
http://colt.net/uk/en/Colt-Group-of-Companies/index.htm. Internet
communications are not secure and Colt does not accept responsibility for the
accurate transmission of this message. Content of this email or its
attachments is not legally or contractually binding unless expressly
previously agreed in writing by Colt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20150529/a3ec4bdb/attachment.html>
More information about the Help
mailing list