<DIV>
<DIV>Mike ,</DIV>
<DIV> </DIV>
<DIV>Thanks a ton for replying me .The contents of the misccommands.cfg are </DIV>
<DIV> </DIV>
<DIV># 'notify-by-email' command definition<BR>define command{<BR> command_name notify-by-email<BR> command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$<BR>\nHost: $host1$\nAddress: $host1$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/<BR>bin/mail -s "** $NOTIFICATIONTYPE$ alert - $host1$/$SERVICEDESC$ is $SERVICESTATE$ **" <A href="mailto:$sunsolnav@yahoo.com$">$sunsolnav@yahoo.com$</A><BR> }<BR># <BR></DIV>
<DIV>Thanks ,</DIV>
<DIV>Nav<BR><B><I>mike.simkins@sungard.com</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<DIV><SPAN class=233292113-03112003><FONT face=Arial color=#0000ff size=2>What is/are the contents of your misccommands.cfg</FONT></SPAN></DIV>
<DIV><SPAN class=233292113-03112003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> sun solnav [mailto:sunsolnav@yahoo.com] <BR><B>Sent:</B> Monday, November 03, 2003 12:09 PM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] Help<BR><BR></FONT></DIV>
<DIV>Hello Nagios guru's ,<BR> <BR>I'm new to this tool , i found this interesting and decided to install this for my environment. I have installed it sucessfully and configured the web interface. But now when i try to configure a unix box using the docs provided in the <A href="http://www.nagios.org/">http://www.nagios.org</A> <BR>for disk usage i get the following error . <BR> <BR># ./nagios restart<BR>Running configuration check...<BR>Nagios 1.1<BR>Copyright (c) 1999-2003 Ethan Galstad (<A href="mailto:nagios@nagios.org">nagios@nagios.org</A>)<BR>Last Modified: 06-02-2003<BR>License: GPL<BR>Reading configuration data...<BR>Error: Could not add object property in file '/usr/nagios/etc/misccommands.cfg' on line 5.</DIV>
<DIV>***> One or more problems was encountered while processing the config files...<BR> Check your configuration file(s) to ensure that they contain valid<BR> directives and data defintions. If you are upgrading from a previous<BR> version of Nagios, you should be aware that some variables/definitions<BR> may have been removed or modified in this version. Make sure to read<BR> the HTML documentation on the main and host config files, as well as the<BR> 'Whats New' section to find out what has changed.<BR>failed - aborting restart.<BR># <BR> <BR> <BR>I'm not sure how to configure the file misccommands.cfg . Can someone help me with this regard.<BR> <BR>Installation details .<BR> <BR>Installed location :/usr/nagios<BR> <BR>Can someone help me in configuring misccommands.cfg file.<BR> <B
R>Thanks
and Regards,<BR>Nav.</DIV>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR>Exclusive Video Premiere - <A href="http://launch.yahoo.com/video/?1093432&fs=1&redirectURL=http://launch.yahoo.com/promos/britneyspears/">Britney Spears</A></BLOCKQUOTE></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://antispam.yahoo.com/whatsnewfree">Protect your identity with Yahoo! Mail AddressGuard</a>