[Nagios-users] Monitoring Performance: Not sure what is good or bad

2010-05-27 Thread Gabriel - IP Guys
Below is a snapshot of monitoring performance as shown on the Tactical
Monitoring Overview Page

Monitoring Performance

Service Check Execution Time:   0.04 / 14.14 / 3.036 sec
Service Check Latency:  0.00 / 85.15 / 9.604 sec
Host Check Execution Time:  4.30 / 16.05 / 8.263 sec
Host Check Latency: 0.02 / 112.41 / 30.940 sec
# Active Host / Service Checks: 43 / 244
# Passive Host / Service Checks:0  / 0

Now, I know that I'm not monitoring that many hosts, but I'm not sure
what 'good' performance is. My nagios server had an extremely high load
this morning, and the only service on that box, is nagios.

What type of performance should I reasonably expect from my monitoring
server?


The Puppet Apprentice   :- http://puppetnewbie.blogspot.com/
Follow me on twitter:- http://twitter.com/mritguru
Puppet #tag on twitter  :- #puppet
IRC :- itguru ON irc.freenode.org (feel free to say
hi!)



--

___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Web interface issues

2009-08-17 Thread Gabriel - IP Guys
Dear All,

 

I have the following problem - I click in the tactical overview, and I
am greeted with the message

 

"Whoops! Error could not read object configuration data"

 

All files belong to nagios, and are in the group nagcmd and nagios is
also in the group called nagcmd. Apache is also in this group. When I
run nagios -v nagios.config.file I get no errors, but if I do
/etc/init.d/nagios restart - It fails.

 

I am running on a centos  box, with a 64 bit install, and all available
updates - and ideas? 

 

---

Kind Regards,

Mr Gabriel

 

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] How to graph historical data

2009-07-09 Thread Gabriel - IP Guys
Dear All,

 

I would like to know if it's possible to graph the historical data that
Nagios produces - I am about to rebuild an old Linux box that has nagios
installed on it, but I would like to at least see some trends what
actually has been going on. I'm in the rare position where nothing on my
network has so much as farted in the last few months, so I'd like to see
those trends which we don't notice through everyday usage.

 

---

Kind Regards,

Mr Gabriel

 

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] REPOST: Problem in Preflight Check with commands.cfg

2009-06-22 Thread Gabriel - IP Guys
I would suggest that you install version 2.6 on ubuntu, and then upgrade
through the versions. It will take some time, but jumping from 2.6 to
3.0.6 is asking for issues. There are just too many things that have
changed. Besides, it will also teach you about the upgrade process :)

> -Original Message-
> From: Kaplan, Andrew H. [mailto:ahkap...@partners.org]
> Sent: 22 June 2009 12:56
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] REPOST: Problem in Preflight Check with
> commands.cfg
> Importance: High
> 
> Hi there--
> 
> I am reposting this question due to a lack of response. I really am in
> need of
> help here, and any would be greatly appreciated. Thanks.
> 
> I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04
> server
> using the apt-get utility. We currently have a Nagios 2.6 server
> running, and
> I wanted to import the configuration files into the newer server. To
> that end,
> I have placed the appropriate configuration files in the
> /etc/nagios3/conf.d
> directory, and modified the nagios.cfg file to reflect the location of
> the
> configuration files.
> 
> I ran the preflight check and the following error message appeared on-
> screen:
> 
> /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg
> Nagios 3.0.6
> Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
> Last Modified: 12-01-2008
> License: GPL
> Reading configuration data...
> Warning: Duplicate definition found for command 'check_dns' (config
> file
> '/etc/nagios3/conf.d/commands.cfg', starting on line 90)
> Error: Could not add object property in file
> '/etc/nagios3/conf.d/commands.cfg'
> on line 91.
> ***> One or more problems was encountered while processing the config
> files...
>  Check your configuration file(s) to ensure that they contain
valid
>  directives and data defintions.  If you are upgrading from a
> previous
>  version of Nagios, you should be aware that some
> variables/definitions
>  may have been removed or modified in this version.  Make sure to
> read
>  the HTML documentation regarding the config files, as well as the
>  'Whats New' section to find out what has changed.
> 
> I checked the commands.cfg, and several other files, and I do not see
> where the
> duplicate definition is occurring.
> Can someone lend a hand on this? Thanks.
> 
> -Original Message-
> From: Kaplan, Andrew H.
> Sent: Friday, June 19, 2009 4:52 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Problem in Preflight Check with commands.cfg
> 
> Hi there --
> 
> I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04
> server
> using the apt-get utility.
> We currently have a Nagios 2.6 server running, and I wanted to import
> the
> configuration files into the
> newer server. To that end, I have placed the appropriate configuration
> files in
> the /etc/nagios3/conf.d
> directory, and modified the nagios.cfg file to reflect the location of
> the
> configuration files.
> 
> I ran the preflight check and the following error message appeared on-
> screen:
> 
> /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg
> Nagios 3.0.6
> Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
> Last Modified: 12-01-2008
> License: GPL
> Reading configuration data...
> Warning: Duplicate definition found for command 'check_dns' (config
> file
> '/etc/nagios3/conf.d/commands.cfg', starting on line 90)
> Error: Could not add object property in file
> '/etc/nagios3/conf.d/commands.cfg'
> on line 91.
> ***> One or more problems was encountered while processing the config
> files...
>  Check your configuration file(s) to ensure that they contain
valid
>  directives and data defintions.  If you are upgrading from a
> previous
>  version of Nagios, you should be aware that some
> variables/definitions
>  may have been removed or modified in this version.  Make sure to
> read
>  the HTML documentation regarding the config files, as well as the
>  'Whats New' section to find out what has changed.
> 
> I checked the commands.cfg, and several other files, and I do not see
> where the
> duplicate definition is occurring.
> Can someone lend a hand on this? Thanks.
> 
> 
> 
> 
> The information in this e-mail is intended only for the person to whom
> it is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you
> in error
> but does not contain patient information, please contact the sender
and
> properly
> dispose of the e-mail.
> 
> 
>
---
> ---
> Are you an open source citizen? Join us for the Open Source Bridge
> conference!
> Portland, OR, June 17-19. Two days of sessions, one day of
> unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!

Re: [Nagios-users] Create a template host. Howto?

2009-05-11 Thread Gabriel - IP Guys
Just to clarify, and I thank you and all who replied for taking the
time.

It's easier to create hostgroups, and assign checks to the host groups,
then assign the hosts to those same hostgroups, in order to make sure
for example, all linux based servers have their uptime, swap space, SSH,
and free disk space all checked? If my understanding is correct, a host
can belong to many hostgroups? In which case, a host that is running a
webserver, mysql server, and FTP service, will be checked for those
services not by its host definition, but by its host group definition?

I half hope that I'm not right, because it means I have to reconfigure
all my host defs!
---
Kind Regards,
Mr Gabriel



> -Original Message-
> From: Andy Shellam [mailto:andy-li...@networkmail.eu]
> Sent: 10 May 2009 14:24
> To: Gabriel - IP Guys
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Create a template host. Howto?
> 
> Gabriel,
> 
>  From experience, you're better off using host groups.  For example
all
> your hosts will have certain checks (ping, disk space etc) so I have a
> group "all hosts" which all hosts are added to.
> 
> We also have hosts that perform their own functions - e.g. database
> servers, DNS servers, web servers, which all have relevant checks of
> their own.  So we have other host groups called, for example, "DNS
> servers", "web servers" etc which each host is added to the group
> depending on the function it performs.  All service checks are then
> added to the host groups, instead of individual hosts.
> 
> Then if we come up with a new service check, it gets added to the host
> group it needs to be in, and is automatically added to all hosts in
> that
> group.  Similarly if we add a new server, it gets added to the host
> groups it needs to be in, and inherits all the service checks of that
> group without any additional configuration.
> 
> See this page for the above (and plenty other) time-saving tricks:
> http://nagios.sourceforge.net/docs/3_0/objecttricks.html
> 
> HTH,
> 
> Andy
> 
> Gabriel - IP Guys wrote:
> > Dear All,
> >
> > I've completed my nagios installation, thanks to a bit of lurking on
> > this list, and now I have an issue of my own.
> >
> > I've finished configuring a host with all the checks and warnings
> that
> > I need, and now I want to use all the same checks on my other hosts.
> I
> > don't want to have to keep changing every host once when i install
> and
> > configure new plugins. How can create a template so that all host
are
> > 'updated' with new checks when i update just the template?
> >
> > Thanks for any advice in advance.
> >
-
> ---
> >
> >
-
> -
> > 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@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@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


[Nagios-users] Create a template host. Howto?

2009-05-10 Thread Gabriel - IP Guys
Dear All,
 
I've completed my nagios installation, thanks to a bit of lurking on this list, 
and now I have an issue of my own.
 
I've finished configuring a host with all the checks and warnings that I need, 
and now I want to use all the same checks on my other hosts. I don't want to 
have to keep changing every host once when i install and configure new plugins. 
How can create a template so that all host are 'updated' with new checks when i 
update just the template?
 
Thanks for any advice in advance.
--
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@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

Re: [Nagios-users] Nagios Monitor Server, and NRPE clients, giving funny results

2009-05-08 Thread Gabriel - IP Guys
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.fla...@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.fla...@ssp-intl.com]
> > > Sent: 08 May 2009 10:38
> > > To: nagios-users@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! Y

[Nagios-users] Nagios Monitor Server, and NRPE clients, giving funny results

2009-05-08 Thread Gabriel - IP Guys
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@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


[Nagios-users] Identical weird data returned by NRPE on eight different hosts?

2009-05-06 Thread Gabriel - IP Guys
Dear All,

I have the following configuration for my hosts, but for some reason, my
hosts are all reporting the same data, even though I'm using NRPE. For
example, swap data, is exactly the same for each host. I have included a
link to a CFG file that I am using, can someone have a look, and make
sure that I've not screwed anything up? :) Thank you

http://pastebin.com/m7745ff63


---
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@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


[Nagios-users] NRPE/Firewall issues: Assistance required.

2009-04-28 Thread Gabriel - IP Guys
Dear All,

 

I've managed to install my Nagios server (monitor), and it seems that
all is well with it. The box to be monitored(client) has NRPE running on
it. On monitor, I run

 

$ CHECK_NRPE -H *client ip* 

 

I get the CHECK_NRPE: Socket timeout after 10 seconds error message

 

On client I've run the command

 

$ iptables -A INPUT -p tcp -dport 5666 -j ACCEPT

 

This should allow all traffic directed to port 5666 to be accepted,
which in turn should kick NRPE into life and have it return

NRPE v2.12

 

I can't tell what I'm doing wrong here - as I'm sure I've done the right
thing. Any advice on getting client talking to monitor via NRPE, things
I should think about that could scupper the process would be
appreciated.

 

---

Kind Regards,

Mr Gabriel

 

--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Firewall Rules

2009-04-23 Thread Gabriel - IP Guys
Dear all,

 

I've got my Nagios server up and running, and for some reason, I cannot
get the two servers, NagiosHQ, and RemoteServer, to talk to each other.

 

Each of the boxes have very OTT firewalls, basically, everything is
denied, except expected traffic. I was wondering, if someone can show me
the minimum required firewall rules I should have on my server and also
clients. Thank you

 

---

Kind Regards,

Mr Gabriel

 

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Any firewall gotchas for NRPE?

2009-04-22 Thread Gabriel - IP Guys
Some extra information,

 

Nagios Version  3.0.6

NRPE Version2.12

OS  CentOS 5.2

 

From: Gabriel - IP Guys [mailto:gabr...@impactteachers.com] 
Sent: 22 April 2009 13:34
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Any firewall gotchas for NRPE?

 

I've just finished configuring a Nagios instance, and I have also
install NRPE locally on the same machine. I have configured NRPE and
checked that it's working by running the following,

 

# /usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1

NRPE v2.12

 

The result comes back as expected. Also, checking swap returns the
following.

 

# /usr/lib/nagios/plugins/check_swap -w 20% -c 10%

SWAP OK - 100% free (1983 MB out of 1983 MB) |swap=1983MB;396;198;0;1983

 

So I know that NRPE itself is working, what I can't figure out is why
Nagios not giving me the extra data, I just get the error msg 

CHECK_NRPE: Socket timeout after 10 seconds.

 

Any advice appreciated. Just to clarify, Nagios and NRPE are running on
the same box.

 

 

---

Kind Regards,

Mr Gabriel

 

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Any firewall gotchas for NRPE?

2009-04-22 Thread Gabriel - IP Guys
I've just finished configuring a Nagios instance, and I have also
install NRPE locally on the same machine. I have configured NRPE and
checked that it's working by running the following,

 

# /usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1

NRPE v2.12

 

The result comes back as expected. Also, checking swap returns the
following.

 

# /usr/lib/nagios/plugins/check_swap -w 20% -c 10%

SWAP OK - 100% free (1983 MB out of 1983 MB) |swap=1983MB;396;198;0;1983

 

So I know that NRPE itself is working, what I can't figure out is why
Nagios not giving me the extra data, I just get the error msg 

CHECK_NRPE: Socket timeout after 10 seconds.

 

Any advice appreciated. Just to clarify, Nagios and NRPE are running on
the same box.

---

Kind Regards,

Mr Gabriel

 

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Just installed Nagios - NRPE issue

2009-04-21 Thread Gabriel - IP Guys
Dear All,

 

Thank you for taking the time to read this. I've just install Nagios
3.0.6 on one of my collocated boxes. Quick question, do I need to
configure NRPE on the main Nagios box as well? Or will the current
running Nagios process gather the information locally?

 

To be honest, I'd like to configured NRPE on one box, and then copy the
configuration over to all the other servers. Is this the best way to go?

 

---

Kind Regards,

Mr Gabriel

 

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] MySQL replication status plugin

2009-04-15 Thread Gabriel - IP Guys
Thanks to all the people who emailed me off list, to remind me that the 
check_mysql plugin actually contains the functions I wanted! I appreciate all 
the help. Thanks.
---
Kind Regards,
Mr Gabriel



> -Original Message-
> From: Arno Lehmann [mailto:a...@its-lehmann.de]
> Sent: 15 April 2009 10:33
> To: Nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] MySQL replication status plugin
> 
> Hi,
> 
> 15.04.2009 11:06, Gabriel - IP Guys wrote:
> >
> >
> > Good morning guys, (and girls), I hope all is well. I've been given
> the
> > task to, and I quote - "Write a Nagios plugin to test the replication
> > status of two servers by
> > comparing the position on the master to that on the slave"
> >
> 
> I don't know about the "position" question, but my check_mysql from
> the standard plugins 1.4.11 tells me this:
> 
> Options:
> ...
>   -S, --check-slave
>  Check if the slave thread is running properly.
>   -w, --warning
>  Exit with WARNING status if slave server is more than INTEGER
> seconds behind master
>   -c, --critical
>  Exit with CRITICAL status if slave server is more then INTEGER
> seconds behind master
> 
> So why not check if that is what you need?
> 
> >
> > To save myself a lot of work, I'd like to know if anything has been
> done
> > in this arena already, I would be over the moon, if someone has
> beaten
> > me to it, but I am so not in the mood to write one!
> 
> Arno
> 
> >
> >
> > ---
> >
> > Kind Regards,
> >
> > Mr Gabriel
> >
> >
> >
> >
> > -
> ---
> >
> > -
> -
> > This SF.net email is sponsored by:
> > High Quality Requirements in a Collaborative Environment.
> > Download a free trial of Rational Requirements Composer Now!
> > http://p.sf.net/sfu/www-ibm-com
> >
> >
> > -
> ---
> >
> > ___
> > Nagios-users mailing list
> > Nagios-users@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
> 
> --
> Arno Lehmann
> IT-Service Lehmann
> Sandstr. 6, 49080 Osnabrück
> www.its-lehmann.de
> 
> ---
> ---
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> ___
> Nagios-users mailing list
> Nagios-users@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:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] MySQL replication status plugin

2009-04-15 Thread Gabriel - IP Guys
Christophe, I appreciate your super fast answer! And I feel stupid for
not spotting it before!
Have a good day my friend.

> -Original Message-
> From: Christophe Zwecker [mailto:czwec...@sysctl.de]
> Sent: 15 April 2009 10:19
> To: Gabriel - IP Guys
> Subject: Re: MySQL replication status plugin
> 
> check_mysql does what you want.
> 
> best regards,
> 
> Christophe
> 
> Gabriel - IP Guys wrote:
> > Good morning guys, (and girls), I hope all is well. I've been given
> the
> > task to, and I quote - "Write a Nagios plugin to test the
replication
> > status of two servers by
> > comparing the position on the master to that on the slave"
> >
> >
> >
> > To save myself a lot of work, I'd like to know if anything has been
> done
> > in this arena already, I would be over the moon, if someone has
> beaten
> > me to it, but I am so not in the mood to write one!
> >
> >
> >
> > Any hints, recommendations, and ideas are wholly welcome!
> >
> >
> >
> > ---
> >
> > Kind Regards,
> >
> > Mr Gabriel
> >
> >
> >
> >
> 
> 
> --
> Christophe Zwecker
> :Sysctl
> Koppel 96
> 20099 Hamburg
> phon: +49 40 41263790
>  fax: +49 40 41263799
> mail: czwec...@sysctl.de

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] MySQL replication status plugin

2009-04-15 Thread Gabriel - IP Guys
Good morning guys, (and girls), I hope all is well. I've been given the
task to, and I quote - "Write a Nagios plugin to test the replication
status of two servers by 
comparing the position on the master to that on the slave" 

 

To save myself a lot of work, I'd like to know if anything has been done
in this arena already, I would be over the moon, if someone has beaten
me to it, but I am so not in the mood to write one!

 

---

Kind Regards,

Mr Gabriel

 

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] op5 signup for demo issues?

2009-04-07 Thread Gabriel - IP Guys
Dear All,

I'm not sure if this counts as off topic, but I am having a very  hard
time signing up for the op5 demo downloads. I receive no email
responses. I know there are some op5 guys on this list, so feel free to
help me out on this one!

---
Mr Gabriel


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Nagios-users mailing list
Nagios-users@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