Unknown Notification

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
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Unknown Notification

Post by rlinux57 »

How can i disable UNKNOWN notification for specific service ?
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Unknown Notification

Post by rhassing »

In de cfg file for this service (or all services) you should edit the line:

Code: Select all

        notification_options            w,u,c,r
and simpely remove the "u"
Rob Hassing
Image
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Unknown Notification

Post by rkennedy »

Thanks @rhassing!
Former Nagios Employee
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Unknown Notification

Post by rlinux57 »

thanks for the solution, i have also done it by changing the plugin exit value to 0 for UNKNOWN status.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Unknown Notification

Post by mcapra »

Awesome! Is it alright if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
Locked