<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"><head><META content="text/html; charset=utf-8" http-equiv="Content-Type">
<STYLE><!-- /* Style Definitions */ p.1a2f7c27-5862-4cd7-993a-e90c2788a3e5, li.1a2f7c27-5862-4cd7-993a-e90c2788a3e5, div.1a2f7c27-5862-4cd7-993a-e90c2788a3e5, table.1a2f7c27-5862-4cd7-993a-e90c2788a3e5Table {margin:0cm; margin-bottom:.0001pt;}div.Section1 {page:Section1;}--></STYLE>
<META content="text/html; charset=utf-8" HTTP-EQUIV="Content-Type">
<meta content="Microsoft Word 11 (filtered medium)" name=Generator>
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";
color:#000099;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
pre
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:#000099;}
p.6c9a4f3e-16c1-429e-8b9d-51c88562323e, li.6c9a4f3e-16c1-429e-8b9d-51c88562323e, div.6c9a4f3e-16c1-429e-8b9d-51c88562323e
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle19
{mso-style-type:personal;
font-family:Arial;
color:navy;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head><BODY>
<P ALIGN="justify">
<div class=Section1>
<div>
<p class=MsoNormal><font color=black face="Times New Roman" size=3><span style='font-size:12.0pt;color:windowtext'>Just an update to this. This problem
was happening because of an older version of hpacucli. Installing below version
fixed the issue:<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=black face="Times New Roman" size=3><span style='font-size:12.0pt;color:windowtext'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=black face="Times New Roman" size=3><span style='font-size:12.0pt;color:windowtext'><a href="ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/hpacucli-7.70-12.linux.rpm">ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/hpacucli-7.70-12.linux.rpm</a><o:p></o:p></span></font></p>
<p class=MsoNormal><font color=black face="Times New Roman" size=3><span style='font-size:12.0pt;color:windowtext'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=black face="Times New Roman" size=3><span style='font-size:12.0pt;color:windowtext'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=black face="Times New Roman" size=3><span style='font-size:12.0pt;color:windowtext'>Charan<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=black face="Times New Roman" size=3><span style='font-size:12.0pt;color:windowtext'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=black face="Times New Roman" size=3><span style='font-size:12.0pt;color:windowtext'><o:p> </o:p></span></font></p>
<div align=center class=MsoNormal style='text-align:center'><font color=black face="Times New Roman" size=3><span style='font-size:12.0pt;color:windowtext'>
<hr align=center size=2 tabindex=-1 width="100%">
</span></font></div>
<p class=MsoNormal><b><font color=black face=Tahoma size=2><span style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font color=black face=Tahoma size=2><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> CSingh@lightspeedresearch.com
[mailto:CSingh@lightspeedresearch.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, June 09, 2009 10:54
AM<br>
<b><span style='font-weight:bold'>To:</span></b> nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-users]
check_hpasm (3.5) problem on RHEL3</span></font><font color=black><span style='color:windowtext'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font color="#000099" face="Times New Roman" size=3><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I have check_hpasm installed successfully
on RHEL3 but I am unable to get it to work (I have it working correctly for me
on RHEL4 and 5). Here is the problem that I face with RHEL3:<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[nagios@mysys nagios]$
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_hpasm<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>UNKNOWN - insufficient rights to call
/usr/sbin/hpacucli<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[nagios@mysys nagios]$ sudo
/usr/local/nagios/libexec/check_hpasm -v<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>UNKNOWN - insufficient rights to call
/usr/sbin/hpacucli<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>My /etc/sudoers has<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>nagios ALL=NOPASSWD:/sbin/hpasmcli,/usr/sbin/hpacucli,/usr/local/nagios/libexec/check_hpasm<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Calling /usr/bin/hpacucli works correctly
using sudo:<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[nagios@mysys nagios]$ sudo
/usr/sbin/hpacucli<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>HP Array Configuration Utility CLI
7.40.7.0<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Detecting Controllers...Done.<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Type "help" for a list of
supported commands.<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Type "exit" to close the
console.<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>=><o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>[nagios@mysys nagios]$ sudo
/usr/sbin/hpacucli -s help<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>To enter the ACU CLI console type:<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> hpacucli<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Commands can also be executed from outside
the<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>ACU CLI console using the syntax:<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> hpacucli <target>
<command> [param[=value]]<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>All targets, commands, parameters, and
values must be entered in lowercase.<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The only exceptions to this are
user-specified names, such as chassisname.<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><target> <command>
[param[=value]]<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><target> is of format:<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> [controller
all|slot=#|wwn=#|chassisname="AAA"] [array all|<id>]<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> [physicaldrive
all|#:#:#|allunassigned] [logicaldrive all|#]<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> Note: The first # in physicaldrive
is only needed for systems that<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>
specify port:box:bay. Other physical drive targeting schemes<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>
are box:bay and port:id.<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Example targets:<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller all<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller slot=5<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller
chassisname="Lab C"<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller
serialnumber=P21DA2322S<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller
wwn=500308B300701011<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller slot=1 array all<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller slot=7 array A<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> ctrl slot=1 pd allunassigned<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller slot=2
logicaldrive all<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller slot=5 ld 5<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller slot=5
physicaldrive 1:5<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> controller slot=5
physicaldrive 1E:2:3<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><command> can be
"create","delete","modify","show","rescan"<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>For detailed command information type any
of the following:<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> help add<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> help create<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> help delete<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> help modify<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> help remove<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> help shorthand<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> help show<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> help target<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'> help rescan<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>What else could I try?<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks!<o:p></o:p></span></font></p>
<p class=MsoNormal><font color=navy face=Arial size=2><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Charanbeer<o:p></o:p></span></font></p>
<table border=0 cellpadding=0 cellspacing=0 class=MsoNormalTable style='width:549.0pt;border-collapse:collapse' width=732>
<COLGROUP><COL STYLE="WIDTH: 549pt; mso-width-source: userset; mso-width-alt: 26770" WIDTH="732">
<tr height=126 style='height:94.5pt'>
<td height=126 style='width:549.0pt;padding:0in 0in 0in 0in;
height:94.5pt' width=732>
<p class=MsoNormal><font color=black face=Arial size=2><span style='font-size:10.0pt;font-family:Arial;color:windowtext'>This email is
intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or otherwise protected from disclosure. Dissemination,
distribution or copying of this email or the information herein by anyone
other than the intended recipient, or an employee or agent responsible for
delivering the message to the intended recipient, is prohibited. If you have
received this email by mistake, please delete it from your system immediately
and notify the sender. Email transmission cannot be guaranteed to be
secure or error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The sender
therefore does not accept liability for any errors or omissions in the
contents of this message, which arise as a result of email transmission.</span></font><font color=black><span style='color:windowtext'><o:p></o:p></span></font></p>
</td>
</tr>
</COLGROUP>
</table>
<p class=6c9a4f3e-16c1-429e-8b9d-51c88562323e><font face="Times New Roman" size=3><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</P>
<P ALIGN="justify">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" STYLE="WIDTH: 549pt; BORDER-COLLAPSE: collapse" WIDTH="732">
<COLGROUP>
<COL STYLE="WIDTH: 549pt; mso-width-source: userset; mso-width-alt: 26770" WIDTH="732">
<TBODY>
<TR HEIGHT="126" STYLE="HEIGHT: 94.5pt">
<TD CLASS="xl65" HEIGHT="126" STYLE="BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: #d4d0c8; WIDTH: 549pt; BORDER-BOTTOM: #d4d0c8; HEIGHT: 94.5pt; BACKGROUND-COLOR: transparent" WIDTH="732"><FONT FACE="Arial" SIZE="2">This email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission.</FONT></TD></TR></TBODY></COLGROUP></TABLE></P>
<P CLASS="1a2f7c27-5862-4cd7-993a-e90c2788a3e5"> </P></BODY></HTML>