<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
What is your check_disk definition in nrpe.cfg ?<br>
<br>
Example:<br>
If in nrpe.cfg, you define this : <br>
command[check_disk_test]=/usr/local/nagios/libexec/check_disk -w $ARG1$
-c $ARG2$<br>
<br>
In definition of service, you must write:<br>
<pre wrap="">check_command check_nrpe!check_disk_test!20%!10%</pre>
<br>
anil kamath wrote:<br>
<blockquote type="cite"
cite="mid20040514092804.64728.qmail@web14522.mail.yahoo.com">
<pre wrap="">Hi,
i am unable to get the remote disk check on a remote
host it gives incorrect command line arguments found.
define service{
use
generic-service
host_name rakeshlnx
service_description check 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 c,r
check_command
check_nrpe!check_disk
}
please help its very urgent..
regards,
anil
--- "Schaffranneck, Sven (K-DOI-5/4)"
<a class="moz-txt-link-rfc2396E" href="mailto:sven.schaffranneck@volkswagen.de"><sven.schaffranneck@volkswagen.de></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
</pre>
<blockquote type="cite">
<pre wrap="">My question is do i have to run the daemon on all
</pre>
</blockquote>
<pre wrap="">the
</pre>
<blockquote type="cite">
<pre wrap="">remote hosts that i need to monitor!!
</pre>
</blockquote>
<pre wrap="">If use want to use nrpe -> Yes.
You even have the possibility to use send_nsca
(passive-check) and
check_by_ssh (active-check, but high load on
nagios-server and you must have
a sshd running on remote host)
</pre>
<blockquote type="cite">
<pre wrap="">how do i pass
parameters to check_nrpe to check the diskspace
</pre>
</blockquote>
<pre wrap="">and
</pre>
<blockquote type="cite">
<pre wrap="">processes on the remote system. Please help me its
very Urgent. o i have to make any changes in the
</pre>
</blockquote>
<pre wrap="">local
</pre>
<blockquote type="cite">
<pre wrap="">configuration file and what changes do i have to
</pre>
</blockquote>
<pre wrap="">make
</pre>
<blockquote type="cite">
<pre wrap="">in the nrpe.cfg. is it safe to run the nrpe daemon
</pre>
</blockquote>
<pre wrap="">as
</pre>
<blockquote type="cite">
<pre wrap="">an xinetd service????.
</pre>
</blockquote>
<pre wrap="">you have to compile your nrpe and check_nrpe with
"--enable-command-args".
In the nrpe.cfg you have to set:
"dont_blame_nrpe=1". Now you can pass your
paramaters via check_nrpe to the daemon.
--------------------------
define command {
command_name check_nrpe_ssl_args
command_line $USER1$/check_nrpe_ssl -t
120 -H $HOSTADDRESS$ -c
$ARG1$ -a $ARG2$
}
---------------------------
define service {
name nrpe_ssl_swap
use generic-unix
register 0
service_description NRPE_Swap
check_command
check_nrpe_ssl_args!check_swap!25% 10%
}
--------------------------
Mit freundlichen Grüssen,
Sven Schaffranneck
K-DOI-5/4
Volkswagen AG
Brieffach 1883
38436 Wolfsburg
Telefon: +49 (5361) 9-3 88 58
<a class="moz-txt-link-freetext" href="http://www.volkswagen.de">http://www.volkswagen.de</a>
</pre>
<blockquote type="cite">
<pre wrap="">please reply !!!
Regards,
Anil
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
</pre>
</blockquote>
<pre wrap=""><a class="moz-txt-link-freetext" href="http://hotjobs.sweepstakes.yahoo.com/careermakeover">http://hotjobs.sweepstakes.yahoo.com/careermakeover</a>
</pre>
<blockquote type="cite">
<pre wrap="">
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->-------------------------------------------------------
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the
</pre>
</blockquote>
<pre wrap="">market...
</pre>
<blockquote type="cite">
<pre wrap="">Oracle 10g.
Take an Oracle 10g class now, and we'll give you
</pre>
</blockquote>
<pre wrap="">the exam FREE.
</pre>
</blockquote>
<pre wrap=""><!----><a class="moz-txt-link-freetext" href="http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click">http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click</a>
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!----><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">::: Please include Nagios version, plugin version
</pre>
</blockquote>
<pre wrap="">(-v) and OS
</pre>
<blockquote type="cite">
<pre wrap="">when reporting any issue.
::: Messages without supporting info will risk
</pre>
</blockquote>
<pre wrap="">being sent to /dev/null
</pre>
<pre wrap="">
</pre>
</blockquote>
<pre wrap=""><!---->-------------------------------------------------------
</pre>
<blockquote type="cite">
<pre wrap="">This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the
market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the
exam FREE.
<a class="moz-txt-link-freetext" href="http://ads.osdn.com/?ad_id149&alloc_id66&op=click">http://ads.osdn.com/?ad_id149&alloc_id66&op=click</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
</pre>
</blockquote>
<pre wrap=""><!----><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
</pre>
<blockquote type="cite">
<pre wrap="">::: Please include Nagios version, plugin version
(-v) and OS when reporting any issue.
::: Messages without supporting info will risk being
sent to /dev/null
</pre>
</blockquote>
<pre wrap=""><!---->
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
<a class="moz-txt-link-freetext" href="http://promo.yahoo.com/sbc/">http://promo.yahoo.com/sbc/</a>
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
<a class="moz-txt-link-freetext" href="http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click">http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
</pre>
</blockquote>
</body>
</html>