Bug 823859
Summary: | nagios-plugins-check_sip x86_64 broken, reason: typo /usr/lib6464/nagios/plugins | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Joachim Jaeckel <bugzilla-2004> |
Component: | nagios-plugins-check_sip | Assignee: | Peter Lemenkov <lemenkov> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | dougsland, lemenkov |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-20 20:39:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joachim Jaeckel
2012-05-22 10:26:02 UTC
nagios-plugins-check_sip-1.3-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/nagios-plugins-check_sip-1.3-2.fc15 nagios-plugins-check_sip-1.3-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/nagios-plugins-check_sip-1.3-2.fc16 nagios-plugins-check_sip-1.3-2.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/nagios-plugins-check_sip-1.3-2.el5 nagios-plugins-check_sip-1.3-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/nagios-plugins-check_sip-1.3-2.fc17 nagios-plugins-check_sip-1.3-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/nagios-plugins-check_sip-1.3-2.el6 Package nagios-plugins-check_sip-1.3-2.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing nagios-plugins-check_sip-1.3-2.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-5931/nagios-plugins-check_sip-1.3-2.el6 then log in and leave karma (feedback). Update from epel-testing works for me. Tnx! Sorry, update from epel-testing does not work. 1. call from shell: /usr/lib64/nagios/plugins/check_sip works. 2. call via nagios does not work. Turned on debugging in Nagios: debug_level=4095 Logfile shows: [1337898821.126134] [016.1] [pid=22231] HOST: myhost, SERVICE: SIP test, CHECK TYP E: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: No, RETURN CO DE: 3, OUTPUT: **ePN failed to compile /usr/lib64/nagios/plugins/check_sip: "Num ber found where operator expected at (eval 1) line 129, near "case 1"" at /usr/s bin/p1.pl line 160.\n Found unsolved problems of other people using Switch.pm with Nagios ePN. So i changed the script from line 127: ##switch($resend_times){ ## case 1 { ualarm(500000); } ## case 2 { $TIMEOUT=1; alarm($TIMEOUT); } ## case 3 { $TIMEOUT=2; alarm($TIMEOUT); } ## else { $TIMEOUT=4; alarm($TIMEOUT); } ##} if($resend_times==1) { ualarm(500000); } elsif($resend_times==2) { $TIMEOUT=1; alarm($TIMEOUT); } elsif ($resend_times==3) { $TIMEOUT=2; alarm($TIMEOUT); } else { $TIMEOUT=4; alarm($TIMEOUT); } Now it works. (In reply to comment #9) > Found unsolved problems of other people using Switch.pm with Nagios ePN. > > So i changed the script from line 127: > ##switch($resend_times){ > ## case 1 { ualarm(500000); } > ## case 2 { $TIMEOUT=1; alarm($TIMEOUT); } > ## case 3 { $TIMEOUT=2; alarm($TIMEOUT); } > ## else { $TIMEOUT=4; alarm($TIMEOUT); } > ##} > if($resend_times==1) > { ualarm(500000); } > elsif($resend_times==2) > { $TIMEOUT=1; alarm($TIMEOUT); } > elsif ($resend_times==3) > { $TIMEOUT=2; alarm($TIMEOUT); } > else > { $TIMEOUT=4; alarm($TIMEOUT); } > > Now it works. Well, can't confirm - I just tried it on my EL5 and it works fine. Did you try it on Fedora only? (In reply to comment #10) > Well, can't confirm - I just tried it on my EL5 and it works fine. Did you > try it on Fedora only? Yes, i only tested on Fedora 16. On el5 you still have the old nagios 2, on fedora you have nagios 3. Nagios 3 uses ePN. ePN is an embedded Perl interpreter that runs inside Nagios, similar to mod_perl in Apache. As described in comment 8 the problem shows only when plugin is called from nagios. nagios-plugins-check_sip-1.3-2.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. Problem not solved for Fedora. nagios-plugins-check_sip-1.3-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/nagios-plugins-check_sip-1.3-4.fc17 nagios-plugins-check_sip-1.3-4.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/nagios-plugins-check_sip-1.3-4.fc16 nagios-plugins-check_sip-1.3-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/nagios-plugins-check_sip-1.3-4.fc18 nagios-plugins-check_sip-1.3-4.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/nagios-plugins-check_sip-1.3-4.el6 Package nagios-plugins-check_sip-1.3-4.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing nagios-plugins-check_sip-1.3-4.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-12931/nagios-plugins-check_sip-1.3-4.el6 then log in and leave karma (feedback). nagios-plugins-check_sip-1.3-4.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. nagios-plugins-check_sip-1.3-4.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. nagios-plugins-check_sip-1.3-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |