<div>I have not used that Plugin but the following is a general procedure I use to track down a config/new command issue.</div>
<div> </div>
<div>Make sure that Nagios compiles correctly </div>
<div>start nagios using the -v to check the config before actually restarting it.</div>
<div> </div>
<div> </div>
<div>After the config is OK, then make sure the plugin you want to use is in your nagios plugin directory check your nagios config files for the location of this directory.</div>
<div> </div>
<div>test the plugin from the commad line, to make sure you have the command syntex correct, as well as, checking that  nothing unexpected happend.</div>
<div> </div>
<div>the next step is to make sure the plugin can run under your nagios user account. </div>
<div> </div>
<div>then tweek the command definition based on the results of the prior steps.</div>
<div> </div>
<div> </div>
<div>Hope this helps,</div>
<div> </div>
<div>Tony</div>
<div> <br><br></div>
<div class="gmail_quote">On Tue, Jun 24, 2008 at 3:07 PM, <<a href="mailto:eandre@casadamoeda.gov.br">eandre@casadamoeda.gov.br</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Gentlemen.<br><br>Iīve been fighting with Nagios 3.0.2 on OpenSuse 10.3 while trying to integrate MRTG and Nagios.<br>
<br>I have followed the sample in Nagios docs which guides us to:<br><br>define service{<br>use generic-service<br>host_name linksys-srw224p<br>service_description Port 1 Bandwidth Usage<br>check_command check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,2000000!5000000,5000000!10<br>
}<br><br>But first of all this plugin check_local_mrtgtraf! is not found, but check_mrtgtraf and every time I try to adapt the sample with my path/mylog or changing check_local_mrtgtraf to check_mrtgtraf!<br><br>I donīt get any success. Besides I canīt even start Nagios and get this Msg: Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.<br>
<br>-------------------------------------------------------------------------<br>Check out the new SourceForge.net Marketplace.<br>It's the best place to buy or sell services for<br>just about anything Open Source.<br>
<a href="http://sourceforge.net/services/buy/index.php" target="_blank">http://sourceforge.net/services/buy/index.php</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>