Linux active checks with NCPA client - cfg examples?
Posted: Mon Feb 22, 2021 1:18 pm
Hello all,
I've stood up a 4.4.6 core install and using NCPA client on Windows and Linux clients. I've managed to get the Windows clients reporting properly for services etc. I can't find any examples of config files for Linux specifically syntax for checking partitions/mount points. I'd like to monitor space on the usual mount points.. / /var/log etc.
A windows disk check looks like this
define service {
host_name Server ; The name we're giving to this host
service_description Disk Space Used I:
check_command check_ncpa!-t 'token' -P 5693 -M 'disk/logical/I:|/used_percent' --warning 90 --critical 95
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contacts nagiosadmin
register 1
}
What is the regex for Linux mount points?
Thanks!
Ron
I've stood up a 4.4.6 core install and using NCPA client on Windows and Linux clients. I've managed to get the Windows clients reporting properly for services etc. I can't find any examples of config files for Linux specifically syntax for checking partitions/mount points. I'd like to monitor space on the usual mount points.. / /var/log etc.
A windows disk check looks like this
define service {
host_name Server ; The name we're giving to this host
service_description Disk Space Used I:
check_command check_ncpa!-t 'token' -P 5693 -M 'disk/logical/I:|/used_percent' --warning 90 --critical 95
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contacts nagiosadmin
register 1
}
What is the regex for Linux mount points?
Thanks!
Ron