Archived
1
0

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:
Christoph Anton Mitterer 2012-09-30 00:21:37 +02:00
parent 140975c7fd
commit 8066a05f6d

View File

@ -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):