AW: AW: configuration help on remote hosts
anil kamath
amk_dude at yahoo.com
Mon May 17 08:31:02 CEST 2004
Hi,
When i run nrpe daemon with the -i options it shows
the daemon pid when i run ps -ef |grep nrpe. but when
i run in standalone daemon mode with the -d option
./nrpe -c <configfile> -d
when i check the log it states "Network Bind failure
:98 Address already in use
How do i rectify it..
Regards,
anil
--- "Lammersdorf, Lorenz"
<Lorenz.Lammersdorf at Dresdner-Bank.com> wrote:
> hi anil,
>
> youhave to tell your servive which partition it has
> to supervise:
>
> define service{
> use
> generic-service ; Name of
> service template to use
>
> host_name bla
> service_description /dev/hda2
> 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_disk1
> }
>
> regards
> lorenz
>
> -----Ursprüngliche Nachricht-----
> Von: anil kamath [mailto:amk_dude at yahoo.com]
> Gesendet: Freitag, 14. Mai 2004 11:28
> An: Schaffranneck, Sven (K-DOI-5/4)
> Cc: nagios-users at lists.sourceforge.net
> Betreff: Re: AW: [Nagios-users] configuration help
> on remote hosts
>
>
> 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)"
> <sven.schaffranneck at volkswagen.de> wrote:
> > Hello,
> >
> > > My question is do i have to run the daemon on
> all
> > the
> > > remote hosts that i need to monitor!!
> >
> > 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)
> >
> >
> > > how do i pass
> > > parameters to check_nrpe to check the diskspace
> > and
> > > processes on the remote system. Please help me
> its
> > > very Urgent. o i have to make any changes in the
> > local
> > > configuration file and what changes do i have to
> > make
> > > in the nrpe.cfg. is it safe to run the nrpe
> daemon
> > as
> > > an xinetd service????.
> >
> > 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
> > http://www.volkswagen.de
> >
> >
> > > please reply !!!
> > >
> > > Regards,
> > > Anil
> > >
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Win a $20,000 Career Makeover at Yahoo! HotJobs
>
> > >
> >
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
> > >
> > >
> > >
> >
>
-------------------------------------------------------
> > > 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.
> > >
> >
>
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin
> version
> > (-v) and OS
> > > when reporting any issue.
> > > ::: Messages without supporting info will risk
> > being sent to /dev/null
> > >
> >
> >
> >
>
-------------------------------------------------------
> > 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.
> > http://ads.osdn.com/?ad_id149&alloc_id66&op=click
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version
> > (-v) and OS when reporting any issue.
> > ::: Messages without supporting info will risk
> being
> > sent to /dev/null
>
=== message truncated ===
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
-------------------------------------------------------
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!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list