http://bugzilla.novell.com/show_bug.cgi?id=536475 Summary: nagios-plugins-zypper: check_zypper triggers "warning" when there are no updates available. Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: admin@eregion.de QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-2.1 Firefox/3.5.2 I'm monitoring a openSUSE 11.1 with nagios, and when i try to use the zypper plugin i get WARNING every time a check returns with "OK: no updates available". That can't be the intended result ;) Reproducible: Always Steps to Reproduce: 1. install nagios + the zypper plugin 2. run the check_zypper script 3. enable the nagios check Actual Results: nagios reports a WARNING every time the check returns OK: No updates available Expected Results: nagios should report nothing in that case. output of the check_zypper plugin with DEBUG=1: rtm04:/usr/lib/nagios/plugins # ./check_zypper -v INFO: openSUSE,11.1,0 INFO: Trying unset LANG; /usr/bin/zypper sl 2>/dev/null 1>&2 INFO: Trying unset LANG; /usr/bin/zypper --xmlout list-updates -t package -t patch LINE: <?xml version='1.0'?> LINE: <stream> LINE: <message type="info">Loading repository data...</message> LINE: <message type="info">Reading installed packages...</message> LINE: <update-status version="0.6"> LINE: <update-list> LINE: </update-list> LINE: </update-status> LINE: </stream> INFO: Packages (paccount): 0 INFO: Optional (optcount): 0 INFO: Recommended (reccount): 0 INFO: Security (seccount): 0 $VAR1 = {}; Updates OK: no updates available | security=0;;;; recommended=0;;;; optional=0;;;; packages=0;;;; INFO: Exit-Code: 0 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.