<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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 lang=EN-AU link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>I have pulled all my hair out in my quest to get
notifications working for an SNMP check I am running. All my other host and
service checks work fine and I can generate notifications but with the
SNMP check nothing happens. In the web interface The values change as expected
OK to critical for example. The only thing I can think of is that the value
returned is not generating a notification. Any help would be appreciated.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[root@srv-qs-nagiosp1 ~]#
/usr/lib64/nagios/plugins/check_snmp -v -H env-qs-ups02 -o
1.3.6.1.2.1.33.1.5.3.1.2.1 -c 230:260<o:p></o:p></p>
<p class=MsoNormal>/usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public
env-qs-ups02:161 1.3.6.1.2.1.33.1.5.3.1.2.1<o:p></o:p></p>
<p class=MsoNormal>iso.3.6.1.2.1.33.1.5.3.1.2.1 = INTEGER: 243<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>SNMP OK - 243 | iso.3.6.1.2.1.33.1.5.3.1.2.1=243 <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[root@srv-qs-nagiosp1 ~]#
/usr/lib64/nagios/plugins/check_snmp -v -H env-qs-ups02 -o
1.3.6.1.2.1.33.1.5.3.1.2.1 -c 230:235<o:p></o:p></p>
<p class=MsoNormal>/usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public
env-qs-ups02:161 1.3.6.1.2.1.33.1.5.3.1.2.1<o:p></o:p></p>
<p class=MsoNormal>iso.3.6.1.2.1.33.1.5.3.1.2.1 = INTEGER: 243<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>SNMP CRITICAL - *243* |
iso.3.6.1.2.1.33.1.5.3.1.2.1=243 <o:p></o:p></p>
</div>
<font size="1"><p><font size="2">***************************************************************<br /></font><font size="2">This message is intended for the addressee named and </font><font size="2">may contain confidential information. If you are not the </font><font size="2">intended recipient, please delete it and notify the sender. </font></p><p><font size="2">Views expressed in this message are those of the </font><font size="2">individual sender, and are not necessarily the views of </font><font size="2">the Department of Lands.</font></p><p><font size="2">This email message has been swept by MIMEsweeper </font><font size="2">for the presence of computer viruses.<br /></font><font size="2">***************************************************************</font></p></font>
</body>
</html>