Nagios Monitor Server, and NRPE clients, giving funny results

Gabriel - IP Guys Gabriel at impactteachers.com
Fri May 8 12:13:06 CEST 2009


I get the concept, NRPE is installed on my client servers, and nagios
itself is installed on ate server designated the monitor server. This
server itself also has NRPE installed as it's monitored by a separate
nagios install, but that's above and beyond this issue. I've been told
that I cannot pass arguments to NRPE from the monitor server. For
example, check_nrpe -H client_IP check_disk - is the most that I can
issue on the monitor server. I guess this then means that in the *.cfg
files on nagios, everywhere it says check_nrpe!check_disk - there should
be no arguments after it?

If this is the case, then I think I found where the guy I replaced made
a mistake!

> -----Original Message-----
> From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com]
> Sent: 08 May 2009 11:00
> To: Nagios User list
> Subject: Re: [Nagios-users] Nagios Monitor Server, and NRPE
> clients,giving funny results
> 
> Gabriel
> 
> I believe you may be confusing the two components .
> Nagios is the core system submitting requests and gathering the
answers
> from the clients and
> network.
> NRPE is a client agent installed on the individual server being
> monitored from the nagios - and
> AFAIK there is no rpm for it , you can download it from the nagios
site
> -> addons
> http://www.nagios.org/download/addons/
> 
> Please read the documentation about the NRPE and see how to set it up
> to your needs .
> 
> Assaf
> 
> 
> 
> On Friday 08 May 2009 17:45:24 Gabriel - IP Guys wrote:
> > I installed nagios from RPMs is there a way to check NRPE
precompiled
> > binary to check for support of arguments?
> >
> > > -----Original Message-----
> > > From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com]
> > > Sent: 08 May 2009 10:38
> > > To: nagios-users at lists.sourceforge.net
> > > Subject: Re: [Nagios-users] Nagios Monitor Server, and NRPE
> > > clients,giving funny results
> > >
> > > What is the configuration command of check_disk of the nrpe  in
the
> > > clinet machine ?
> > >
> > > Did you setup the nrpe with the support-args when you complied it
?
> > >
> > > if not , the you will not be able to pass arguments to the nrpe
> > > executor , but will have to define
> > > the exect execution of each command in the nrpe client side.
> > >
> > > Assaf
> > >
> > > On Friday 08 May 2009 17:26:57 Gabriel - IP Guys wrote:
> > > > Dear All,
> > > >
> > > > I'm trying to get my Nagios instance to behave properly! It
seems
> to
> > >
> > > be
> > >
> > > > monitoring my servers just fine, but for some reason, all my
> >
> > servers,
> >
> > > > which are different from each other show the same swap space,
and
> >
> > the
> >
> > > > same free disk space to within 10 megs.
> > > >
> > > > Now the above tells me that there is a config error somewhere.
In
> > >
> > > order
> > >
> > > > to test this, I log into my monitor server, and issue the
> following
> > > > command;
> > > >
> > > > ./Check_nrpe -H client_ip -c check_disk 50 80
> > > >
> > > > My understanding tells me that the following happens
> > > >
> > > > *	The check_nrpe plugin on the nagios monitor server runs,
> and
> > > > accesses the client at client_ip
> > > > *	It initiates its local check_disk plugin with the
> parameters of
> > > > 50 and 80.
> > > > *	This causes the check_disk plugin on the client to run,
as
> if
> > > > typed locally in this manner check_disk -w 50 -c 80
> > > >
> > > > Running check_disk 50 80 on client_ip returns data on the disk
> state
> > > > Running ./Check_nrpe -H client_ip -c check_disk 50 80 on Nagios
> > >
> > > monitor
> > >
> > > > server returns unknown argument
> > > >
> > > > I cannot figure out what is causing this discrepancy -
check_nrpe
> -H
> > > > client_ip returns Nagios version so I know the communication
> works.
> > > >
> > > > Any help will be appreciated
> > > >
> > > >
> > > > ---
> > > > Kind Regards,
> > > > Mr Gabriel
> >
> >
---------------------------------------------------------------------
> >
> > > ------
> > >
> > > >--- The NEW KODAK i700 Series Scanners deliver under ANY
> > >
> > > circumstances! Your
> > >
> > > > production scanning environment may not be a perfect world - but
> > >
> > > thanks to
> > >
> > > > Kodak, there's a perfect scanner to get the job done! With the
> NEW
> > >
> > > KODAK
> > >
> > > > i700 Series Scanner you'll get full speed at 300 dpi even with
> all
> > >
> > > image
> > >
> > > > processing features enabled. http://p.sf.net/sfu/kodak-com
> > > > _______________________________________________
> > > > 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
> > >
> > > --
> > > Assaf Flatto
> > > SSP Ops Team
> > > Linux System Administrator
> > > 169 Euston Road, London, NW1 2AE
> > >
> > > Along with a few colleagues I am doing The Three Peaks Challenge
> again
> > > this year to raise money for The Railway Children.
> > > Please sponsor me by making a donation online, simply click on the
> >
> > link
> >
> > > below and give via your switch/credit card. Thank you.
> > > http://www.justgiving.com/londonnorththreepeaks
> > >
> > >
> > >
> > >
> > > IMPORTANT . this email and the information in it may be
> confidential,
> > > legally
> > > privileged and/or protected by law. It is intended solely for the
> use
> > > of the
> > > person to whom it is addressed. If you are not the intended
> recipient,
> > > please
> > > notify the sender immediately and do not disclose the contents to
> any
> > > other
> > > person, use it for any purpose, or store or copy the information
in
> >
> > any
> >
> > > medium.
> > > Please also delete all copies of this email and any attachments
> from
> > > your
> > > system.
> > >
> > > We cannot guarantee the security or confidentiality of email
> > > communications. We
> > > do not accept any liability for losses or damages that you may
> suffer
> > > as a
> > > result of your receipt of this email including but not limited to
> > > computer
> > > service or system failure, access delays or interruption, data
non-
> > > delivery or
> > > mis-delivery, computer viruses or other harmful components.
> > >
> > > Copyright in this email and any attachments belong to Select
> Service
> > > Partner UK
> > > Limited. Should you communicate with anyone at Select Service
> Partner
> > > UK Limited by
> > > email, you consent to us monitoring and reading any such
> > > correspondence.
> > >
> > > Nothing in this email shall be taken or read as suggesting,
> proposing
> > > or
> > > relating to any agreement concerted practice or other practice
that
> > > could
> > > infringe UK or EC competition legislation.
> > >
> > > Select Service Partner UK Limited is a company registered in
> England
> > > and Wales
> > > (company number 05687183) whose registered office is at 1 The
> Heights,
> > > Brooklands, Weybridge. Surrey. KT13 0NY
> >
> >
---------------------------------------------------------------------
> --
> >
> > > -------
> > > The NEW KODAK i700 Series Scanners deliver under ANY
circumstances!
> > > Your
> > > production scanning environment may not be a perfect world - but
> >
> > thanks
> >
> > > to
> > > Kodak, there's a perfect scanner to get the job done! With the NEW
> > > KODAK i700
> > > Series Scanner you'll get full speed at 300 dpi even with all
image
> > > processing features enabled. http://p.sf.net/sfu/kodak-com
> > > _______________________________________________
> > > 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
> 
> 
> 
> --
> Assaf Flatto
> SSP Ops Team
> Linux System Administrator
> 169 Euston Road, London, NW1 2AE
> 
> Along with a few colleagues I am doing The Three Peaks Challenge again
> this year to raise money for The Railway Children.
> Please sponsor me by making a donation online, simply click on the
link
> below and give via your switch/credit card. Thank you.
> http://www.justgiving.com/londonnorththreepeaks
> 
> 
> 
> 
> IMPORTANT . this email and the information in it may be confidential,
> legally
> privileged and/or protected by law. It is intended solely for the use
> of the
> person to whom it is addressed. If you are not the intended recipient,
> please
> notify the sender immediately and do not disclose the contents to any
> other
> person, use it for any purpose, or store or copy the information in
any
> medium.
> Please also delete all copies of this email and any attachments from
> your
> system.
> 
> We cannot guarantee the security or confidentiality of email
> communications. We
> do not accept any liability for losses or damages that you may suffer
> as a
> result of your receipt of this email including but not limited to
> computer
> service or system failure, access delays or interruption, data non-
> delivery or
> mis-delivery, computer viruses or other harmful components.
> 
> Copyright in this email and any attachments belong to Select Service
> Partner UK
> Limited. Should you communicate with anyone at Select Service Partner
> UK Limited by
> email, you consent to us monitoring and reading any such
> correspondence.
> 
> Nothing in this email shall be taken or read as suggesting, proposing
> or
> relating to any agreement concerted practice or other practice that
> could
> infringe UK or EC competition legislation.
> 
> Select Service Partner UK Limited is a company registered in England
> and Wales
> (company number 05687183) whose registered office is at 1 The Heights,
> Brooklands, Weybridge. Surrey. KT13 0NY
> 
> 
> 
>
-----------------------------------------------------------------------
> -------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances!
> Your
> production scanning environment may not be a perfect world - but
thanks
> to
> Kodak, there's a perfect scanner to get the job done! With the NEW
> KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> 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

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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