[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 80 -c 95 -
p /dev/sda1

-w : the warning percentage.
-c : the critical percentage.
-p : the partition to check

So while you have the values out there, you don't have the switches
telling it what the values mean. :) Hope this helps.

Cary

On Tue, 2004-12-21 at 16:12 -0500, fishr at bellsouth.net wrote:
> Hello all,
> 
> I am hoping someone on this list uses/has used Nagios and can help me with an issue I have experiencing.  First, some background info:
> 
> >From checkcommands.cfg of Nagios host
> 
> #'check_nrpe' command definition
>         define command {
>         command_name check_nrpe
>         command_line $USER1$/check_nrpe $HOSTADDRESS$ -c $ARG1$
>         }
> 
> ($USER1$ = /usr/local/nagios/libexec)
> 
> ---------------------------------------------------------------------------------------------
> 
> >From services.cfg of Nagios host
> 
> # Service definition
> define service{
>         use                             generic-service         ; Name of service template to use
> 
>         host_name                       server.domain.net
>         service_description             sda1 Free Space
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              3
>         normal_check_interval           5
>         retry_check_interval            1
>         contact_groups                  linux-admins
>         notification_interval           120
>         notification_period             24x7
>         notification_options            w,u,c,r
>         check_command                   check_nrpe!check_disk2
>         }
> 
> ---------------------------------------------------------------------------------------------
> 
> >From nrpe.cfg of remote host
> 
> command[check_disk2]=/usr/local/nagios/libexec/check_disk 80 95 /dev/sda1
> 
> ---------------------------------------------------------------------------------------------
> 
> I am receiving the message "Incorrect command line arguments supplied" within the Nagios web interface for all services I am attempting to monitor on the remote host however, I AM ABLE to access this same information when running the idividual check_* commands from the command line of the Nagios host.
> 
> ANY ideas???
> 
> Thanks in advance.
> -Ryan
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 
&gt; 
&gt; 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00843" href="msg00843.html">[ale] Nagios check_nrpe issue</a></strong>
<ul><li><em>From:</em> FishR at bellsouth.net (Ryan Fish)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00840.html">[ale] linux recommendations</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00842.html">[ale] OT: Free MP3 Jukebox ?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00711.html">[ale] Nagios check_nrpe issue</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00843.html">[ale] Nagios check_nrpe issue</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00841"><strong>Date</strong></a></li>
<li><a href="threads.html#00841"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>