check_snmp_ibm_imm.sh Plugin Help

Stuart Browne stuart.browne at ausregistry.com.au
Fri Jun 1 01:18:15 CEST 2012


What happens when you run this check as the user Nagios runs as (usually 'nagios')?

Stuart

From: Peter.Shankland at ricoh-rpl.com [mailto:Peter.Shankland at ricoh-rpl.com]
Sent: Thursday, 31 May 2012 8:14 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_snmp_ibm_imm.sh Plugin Help

Hi all,

I am trying to use the check_snmp_ibm_imm.sh plugin from Nagios Exchange (http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IBM/check_snmp_ibm_imm-2Esh/details) but am having issues with getting a status back through Nagios - command line seems to work fine.

As an example, when I run "./check_snmp_ibm_imm.sh -H <hostname> -C <community> -T voltage" at the command line of the Nagios server I get output:

[cid:image001.gif at 01CD3FD7.79390170]

So this shows that the plugin is working fine. However, when I then translate that into Nagios with the new command of:

[cid:image002.gif at 01CD3FD7.79390170]

I just get the following:

[cid:image003.gif at 01CD3FD7.79390170]

It is obviously something I am doing wrong in Nagios but could do with a push in the right direction :)

Thanks.
Pete.
________________________________


 Peter Shankland
 TECHNICAL NETWORK SPECIALIST
 IT DEPARTMENT
 DD:+44 (0) 1952 205160
 F:+44 (0) 1952 213100
 M:+44 (0) 7919 444077
 E: Peter.Shankland at ricoh-rpl.com<mailto:Peter.Shankland at ricoh-rpl.com>

[cid:image004.gif at 01CD3FD7.79390170]

 Ricoh UK Products Limited
 Priorslee | Telford | Shropshire | TF2 9NS
 T: +44 (0) 1952 290090
 [cid:image005.gif at 01CD3FD7.79390170]
Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message.

Registered in England No. 1763860
Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120601/1664a769/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4228 bytes
Desc: image001.gif
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120601/1664a769/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 8445 bytes
Desc: image002.gif
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120601/1664a769/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.gif
Type: image/gif
Size: 5723 bytes
Desc: image003.gif
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120601/1664a769/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.gif
Type: image/gif
Size: 1119 bytes
Desc: image004.gif
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120601/1664a769/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.gif
Type: image/gif
Size: 566 bytes
Desc: image005.gif
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120601/1664a769/attachment-0004.gif>
-------------- next part --------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list