problem using the check_os_updates plugin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
wolf29
Posts: 1
Joined: Thu Sep 08, 2011 10:28 am

problem using the check_os_updates plugin

Post by wolf29 »

I am trying to test OS updates required
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_updates
works fine.
The 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
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: problem using the check_os_updates plugin

Post by agriffin »

I'm unsure of what the problem is here, since you said that the check_by_ssh command worked fine. Could you give a little more detail about what's going wrong?
Locked