Hello, I posted my request on this [ https://community.icinga.com/t/check-command-disk/3905/5 | page ] , and i got suggest email to email the plugins team.
My request is : i want to have return line for each partition output : vars.disk_partitions I got the right output but i want return line for the output of each partitions p1, p2, p3, p4 and p5, rather than have them in one line. Here is how look like my service structure : apply Service "AAA Partage NFS" { import "generic-service" check_command = "disk" vars.disk_wfree = "20%" vars.disk_cfree = "10%" vars.disk_megabytes = true vars.disk_exclude_type = [ "none", "tmpfs", "sysfs", "proc", "configfs", "devtmpfs", "devfs", "mtmfs", "tracefs", "cgroup", "fuse.gvfsd-fuse", "fuse.gvfs-fuse-daemon", "fdescfs", "overlay", "nsfs", "squashfs" ] vars.disk_partitions = [ "/AAA/p1", "/AAA/p2", "/AAA/p3", "/AAA/p4", "/AAA/p5" ] vars.disk_serverip = "x.x.x.x" vars.disk_domain = "BBB" assign where host.vars.type == "partage-nfs On AAAA" } template Host "partage-nfs-AAA On AAAA" { import "generic-host" vars.type = "partage-nfs On AAAA" vars.notification["mail"] = { groups = [ "test" ] } } object Host "AAA" { import "partage-nfs-AAA On AAAA" address = "x.x.x.x" } Best regards, Moustapha Kourouma