<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 14 (filtered medium)"><!--[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:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@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:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></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=WordSection1><p class=MsoNormal>Hello<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[1333083426.020333] [2320.2] [pid=19230] Raw Command Input: $USER1$/check_ping -H $HOSTADDRESS$ -4 -w 1000,33% -c 1000,100% -p 3 -t 1000<o:p></o:p></p><p class=MsoNormal>[1333083426.020347] [2320.2] [pid=19230] Expanded Command Output: $USER1$/check_ping -H $HOSTADDRESS$ -4 -w 1000,33% -c 1000,100% -p 3 -t 1000<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have enabled debugging in my nagios.cfg file:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>1281 # DEBUG LEVEL<o:p></o:p></p><p class=MsoNormal>1282 # This option determines how much (if any) debugging information will<o:p></o:p></p><p class=MsoNormal>1283 # be written to the debug file. OR values together to log multiple<o:p></o:p></p><p class=MsoNormal>1284 # types of information.<o:p></o:p></p><p class=MsoNormal>1285 # Values:<o:p></o:p></p><p class=MsoNormal>1286 # -1 = Everything<o:p></o:p></p><p class=MsoNormal>1287 # 0 = Nothing<o:p></o:p></p><p class=MsoNormal>1288 # 1 = Functions<o:p></o:p></p><p class=MsoNormal>1289 # 2 = Configuration<o:p></o:p></p><p class=MsoNormal>1290 # 4 = Process information<o:p></o:p></p><p class=MsoNormal>1291 # 8 = Scheduled events<o:p></o:p></p><p class=MsoNormal>1292 # 16 = Host/service checks<o:p></o:p></p><p class=MsoNormal>1293 # 32 = Notifications<o:p></o:p></p><p class=MsoNormal>1294 # 64 = Event broker<o:p></o:p></p><p class=MsoNormal>1295 # 128 = External commands<o:p></o:p></p><p class=MsoNormal>1296 # 256 = Commands<o:p></o:p></p><p class=MsoNormal>1297 # 512 = Scheduled downtime<o:p></o:p></p><p class=MsoNormal>1298 # 1024 = Comments<o:p></o:p></p><p class=MsoNormal>1299 # 2048 = Macros<o:p></o:p></p><p class=MsoNormal>1300<o:p></o:p></p><p class=MsoNormal>1301 debug_level=256<o:p></o:p></p><p class=MsoNormal>1302<o:p></o:p></p><p class=MsoNormal>1303<o:p></o:p></p><p class=MsoNormal>1304<o:p></o:p></p><p class=MsoNormal>1305 # DEBUG VERBOSITY<o:p></o:p></p><p class=MsoNormal>1306 # This option determines how verbose the debug log out will be.<o:p></o:p></p><p class=MsoNormal>1307 # Values: 0 = Brief output<o:p></o:p></p><p class=MsoNormal>1308 # 1 = More detailed<o:p></o:p></p><p class=MsoNormal>1309 # 2 = Very detailed<o:p></o:p></p><p class=MsoNormal>1310<o:p></o:p></p><p class=MsoNormal>1311 debug_verbosity=2<o:p></o:p></p><p class=MsoNormal>1312<o:p></o:p></p><p class=MsoNormal>1313<o:p></o:p></p><p class=MsoNormal>1314<o:p></o:p></p><p class=MsoNormal>1315 # DEBUG FILE<o:p></o:p></p><p class=MsoNormal>1316 # This option determines where Nagios should write debugging information.<o:p></o:p></p><p class=MsoNormal>1317<o:p></o:p></p><p class=MsoNormal>1318 debug_file=/usr/local/nagios/var/nagios.debug<o:p></o:p></p><p class=MsoNormal>1319<o:p></o:p></p><p class=MsoNormal>1320<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>However when the commands are output into the debug file, the macros don’t expand. This make debugging difficult. Anyone know what is going on?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span style='font-family:"Arial","sans-serif";color:#003366;mso-fareast-language:EN-AU'>Sam Kidman</span></b><span style='mso-fareast-language:EN-AU'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-family:"Arial","sans-serif";color:#003366;mso-fareast-language:EN-AU'>IT System Administrator<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#003366;mso-fareast-language:EN-AU'>--------------------------<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-family:"Arial","sans-serif";color:#003366;mso-fareast-language:EN-AU'>T:</span></b><span style='font-family:"Arial","sans-serif";color:#003366;mso-fareast-language:EN-AU'> 08 9225 0944<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-family:"Arial","sans-serif";color:#003366;mso-fareast-language:EN-AU'>M: </span></b><span style='font-family:"Arial","sans-serif";color:#003366;mso-fareast-language:EN-AU'>0466137318</span><span style='font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'><o:p></o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:EN-AU'><o:p> </o:p></span></b></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'><img width=570 height=142 id="Picture_x0020_1" src="cid:image001.jpg@01CD0E75.7D5C83F0" alt="Description: panres"><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>