Good Morning,
I wanted to know if it is possible in icinga to monitor the chosen FS without going into the sub directories if there are any for example / var / tata / toto.
Thanks for your help
Good Morning,
I wanted to know if it is possible in icinga to monitor the chosen FS without going into the sub directories if there are any for example / var / tata / toto.
Thanks for your help
This is what you can do using the existing check_disk
apply Service "XXX-P_PG_DiskPGDBShare" {
import "XXX-tmplService-PG-OS-Disk"
assign where "XXX-tmplHost-PG" in host.templates
ignore where host.name in [
"s1834.corpintra.net",
"s1836.corpintra.net"
]
vars.disk_cfree = "15%"
vars.disk_ereg_path = "(\\/dbshare)"
import DirectorOverrideTemplate
}
Thanks for your help. It’s ok now