[Bug 527159] New: check_zypper (nagios-plugins-zypper) passes incorrect options to /usr/bin/zypper
http://bugzilla.novell.com/show_bug.cgi?id=527159 Summary: check_zypper (nagios-plugins-zypper) passes incorrect options to /usr/bin/zypper Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Maintenance AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: A.Thomas@cs.rhul.ac.uk QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618) The check_zypper script in the nagios-plugins-zypper package passes the option 'xml-updates' to /usr/bin/zypper which fails with failed with an "unknown command" error; the plugin reports no updates as being available. I have installed zypper-1.0.9-0.1.1 and nagios-plugins-zypper-0.9-1.3 Reproducible: Always Steps to Reproduce: 1. Install nagios-plugins-zypper 2. Run /usr/lib/nagios/plugins/check_zypper Actual Results: Updates OK: no updates available Expected Results: Updates WARNING : 2 recommended update(s); (assuming some updates are known to be available) The following change to /usr/lib/nagios/plugins/check_zypper fixed the problem: 60c60 < my $zypperopt="--non-interactive --no-gpg-checks xml-updates"; ---
my $zypperopt="--non-interactive --no-gpg-checks --xmlout list-patches";
-- 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.
http://bugzilla.novell.com/show_bug.cgi?id=527159
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=527159
User lrupp@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527159#c1
Lars Vogdt
http://bugzilla.novell.com/show_bug.cgi?id=527159
User A.Thomas@cs.rhul.ac.uk added comment
http://bugzilla.novell.com/show_bug.cgi?id=527159#c2
Adrian Thomas
http://bugzilla.novell.com/show_bug.cgi?id=527159
User lrupp@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527159#c3
Lars Vogdt
http://bugzilla.novell.com/show_bug.cgi?id=527159
User swamp@suse.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527159#c4
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=527159
User lrupp@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527159#c6
Lars Vogdt
http://bugzilla.novell.com/show_bug.cgi?id=527159
User swamp@suse.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527159#c7
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=527159
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=527159
https://bugzilla.novell.com/show_bug.cgi?id=527159#c8
Gregg Douglas
https://bugzilla.novell.com/show_bug.cgi?id=527159
https://bugzilla.novell.com/show_bug.cgi?id=527159#c9
Gregg Douglas
https://bugzilla.novell.com/show_bug.cgi?id=527159
https://bugzilla.novell.com/show_bug.cgi?id=527159#c10
--- Comment #10 from Gregg Douglas
participants (1)
-
bugzilla_noreply@novell.com