<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Times New Roman" size="3"><a name="OLE_LINK1"></a>
<div><font face="Verdana, sans-serif" size="2">Hello!</font></div>
<div><font face="Verdana, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">First timer here with an issue involving check_snmp. Basically, the –l option to specify a label isn’t working properly when I want to use a label with spaces (in quotes). The check works OK, but the display in
nagios as well as check_mk is wrong. I know that some may think that’s it a nagios issue, and it might be, but I thought I would ask here first … maybe others may have found a solution:</font></div>
<div><font face="Verdana, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">Here’s the check_snmp command I’m using:</font></div>
<div><font face="Verdana, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">/usr/local/nagios/libexec/check_snmp -H target_server -C community_name -l "F5 Pool Name:" -P 2c -o .1.3.6.1.4.1.3375.2.2.5.1.2.1.1.25.xxx.[…].xxx </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">Here’s the response:</font></div>
<div><font face="Verdana, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">SNMP OK - F5 Pool Name: "my F5 pool" |</font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">Now that’s working perfectly – but when I look in nagios or check_mk, I see this:</font></div>
<div><font face="Verdana, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">SNMP OK - "my F5 pool"</font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">And that’s not correct – the custom label should be showing. I’ve tried different quotes, escaping, everything. Now when I only use a single word in the label, it works fine, but that’s not what I need for these
checks. I need more detailed labels that don’t have dashes or underscores separating the words.</font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">I’ve had this problem in v1.4.15 and v1.4.16 - anyone know of a solution?</font></div>
<div><font face="Verdana, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">Thanks!</font></div>
<div><font face="Verdana, sans-serif" size="2"> </font></div>
<div><font face="Verdana, sans-serif" size="2">- Jim</font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
</font>
</body>
</html>