using the check_os_updates plugin
How would I need to call it to get it to respond?
on the nagios(local) server the command
Code: Select all
check_command check_by_ssh!22!/nagios/check_os_updatesThe example code block for remote Root Partition works fine.
What am I doing wrong?
Code: Select all
define service{
use local-service
host_name LTS-COMMUNITY-02
service_description Check OS Updates
check_command check_by_ssh!22!/nagios/check_os_updates
notifications_enabled 0
max_check_attempts 3
check_interval 5
retry_interval 3
check_period 24x7
notification_interval 15
notification_period 24x7
notification_options w,c,r
contact_groups admins
}
define service{
use local-service
host_name LTS-COMMUNITY-02
service_description Remote Root Partition
check_command check_by_ssh!22!/nagios/check_diskfree2.sh!/!75!90
notifications_enabled 1
max_check_attempts 3
check_interval 5
retry_interval 3
check_period 24x7
notification_interval 15
notification_period 24x7
notification_options w,c,r
contact_groups admins
register 1