make the Nagios/Icinga status UNKNOWN on timeouts
* Changed the Nagios/Icinga status to UNKNOWN on timeouts. IMHO, a timeout does not imply that updates or security updates, therefore the proper status is UNKNOWN.
This commit is contained in:
parent
140975c7fd
commit
8066a05f6d
@ -199,7 +199,7 @@ class YumTester:
|
||||
discarded = discarded2
|
||||
discarded2 = discarded
|
||||
|
||||
end(CRITICAL, "Yum nagios plugin has self terminated after exceeding the timeout (%s seconds)" % self.timeout)
|
||||
end(UNKNOWN, "Yum nagios plugin has self terminated after exceeding the timeout (%s seconds)" % self.timeout)
|
||||
|
||||
|
||||
def get_updates(self):
|
||||
|
Reference in New Issue
Block a user