Page 1 of 1

Nagios Service Check

Posted: Sat Oct 24, 2020 7:51 am
by kwhogster
Nagios Core 4.3.4

I have many computers that Nagios checks and they all work fine.

I have one service check that triggers an event handler that places the computer into maintenance mode this all works also.

I have this service setup not to send notifications.

I would like to know if I can have this service not show up in the Services Unhandled section or not report at all.

I just need it to run do not care of status of this service at all.
I would know it works when I see my hosts in maint mode.


My service check

Code: Select all

# patches.proto
define service{
        use                     generic-service
        host_name               hostname
        service_description     Patching Service Check
        is_volatile             0
        check_period            24x7
        max_check_attempts      3
        check_interval          60
        retry_interval          1
        contacts                noalerts
        notification_interval   0
        notification_period     24x7
        notification_options    n
        check_command           check_win_patches
        check_period            backup_period
        notification_period     backup_period
        event_handler           patching_downtime
        event_handler_enabled   1
        servicegroups           Windows Updates
        }

Any ideas or suggestions?

Thank you

Tom


Any ideas