Hello,
If it's just two sites... I like to have two Nagios servers. I would put one
in each site. That way if the VPN link is down, you don't lose performance
data from the other site during the window. Plus each Nagios server can
monitor the other. Also I've used my HQ install to monitor
To be rather general...
If you can monitor a device via SNMP, you can monitor it via Nagios. Also you
can use something like NSCA to accept checks/heartbeats from remote
systems/services.
NSCA is a Linux/Unix daemon allows you to
integrate passive alerts and checks from remote machines and
With NSClient++, you can easily copy the INI file around. for NRPE and
NSClient++ config files I always put in 3 generic names as allowed hosts ...
nagios1.domain.local, nagios2.domain.local, nagios3.domain.local. Those 3 are
CNAMEs to my actual nagios systems so I don't have to worry about
I recently ran into a similar testing Nagios/NagVis/PnP4Nagios.
To throw it out there... you are using an older version of PNP as they're
beyond 0.6 now.
I was trying to add a new service and testing. I had been tweaking the check's
command line options to find the write output I wanted.
May or may not be related... When testing new plugins and scripts, make sure
you're testing them as the nagios user the scripts will be running as when
integrated w/ Nagios.
I documented what I did for a previous employer awhile back here:
Perhaps you made a change to the nrpe.cfg and had not restarted NRPE service
previously? I periodically forget to do this myself when updating commands.
--
Mat W.
From: j...@livescribe.com
To: nagios-users@lists.sourceforge.net
Date: Thu, 14 Jul 2011 10:46:34 -0700
Subject: Re:
behind
Mathew Walker wrote:
I'm running Nagios on a little VPS box checking a few hosts/services
(~50 checks). It's mostly a testing platform for me and checks in on my
other test VPS systems.
However I keep seeing the extra check results data files build up in
/usr/local/nagios
I'm running Nagios on a little VPS box checking a few hosts/services (~50
checks). It's mostly a testing platform for me and checks in on my other test
VPS systems.
However I keep seeing the extra check results data files build up in
/usr/local/nagios/var/spool/checkresults like:
We make extensive use of hostgroups for templating.
We define a OS hostgroup. A simple example would be Windows or Linux
host groups where we monitor CPU/Load, Root/C disk space, and memory. The
Windows group has EventLog RDP checks, while Linux groups will monitor the
SSH port.
No firewall rules in play? eg. allowing connections from your Nagios server to
tcp-5666 and allowing the remove server to connect back to your nagios server?
Did you edit the nrpe.cfg file correctly and add the server to allowed_hosts?
Did you remember to restart NRPE after editing the
sounds like you didn't compile NRPE w/ SSL support maybe?
--
Mat W. - http://www.techadre.com
Date: Mon, 26 Oct 2009 13:36:21 -0400
From: akpg...@gmail.com
To: lscarne...@veltrac.com.br
CC: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] CHECK_NRPE: Received 0 bytes from
Ok, been a long week and maybe i'm just overlooking something...
Defined a service on a host like such...
define service{
use my_template
host_name my_host
notifications_enabled 0
service_description my_service
Subject: Re: [Nagios-users] Disabling Notifcations...
On Oct 15, 2009, at 11:26 AM, Mathew Walker wrote:
My theory is I previously disabled and renabled notifications via
the webGUI, then updated the configuration file to disable... and
that last GUI enabled is somehow overriding
i think the plugin you're looking for is CHECK_BY_SSH
--
Mat W. - http://www.techadre.com
Date: Thu, 1 Oct 2009 14:29:08 -0400
From: gmar...@marzot.net
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] remote check with no nagios tools at remote node
Along the lines
make sure you have hostgroup definitions setup ...
define hostgroup{
hostgroup_name DUMMY2
alias Dummy2 Servers
}
Also NOTE in my test host, I have the line:
use dummy-hosts1,dummy-hosts2
Each defines group DUMMY1 and DUMMY2 respectively...
after
in the NRPE.CFG file, make sure you have the allowed_hosts= line set
correctly. also if there is a firewall involved, make sure you open the port
to allow the connection.
--
Mat W. - http://www.techadre.com
Date: Mon, 21 Sep 2009 23:31:11 -0400
From: rper...@uci.cu
To:
There is a check called check_file_age which checks file size and age. It
can then easily be tweaked (just do the reverse logic) to check a file to see
if it was changed/modified.
So you can check to see if the file is changing (eg, a log file), or check to
see if someone modifies a file
with support for tdsver=8.0
Thank you for comments
Nice regards,
Arlen
On Thu, Sep 10, 2009 at 11:13 PM, Mathew Walker lmw94...@hotmail.com wrote:
I use FreeDTS... works like a champ.
but note how the host is defined in the freedts.conf file between the
square brakcets
Wow, so little time to follow the list, but I've got through all this so I
figure I had to chime in...
Start testing via the command line...
my environment works like...
[r...@server]# ./check_mssql -H mssqlsrvr -p 1433 -t 10 -U user -P password
CHECK_MSSQL OK - SQL Server responded in
The irony is we setup SMS vis Clickatell today to send our SMS alerts. I
documented what I did on our Nagios server ...
http://www.techadre.com/content/tweak-nagios-sms-messaging
Of course the service isn't free, but when it's critical and an email doesn't
cut it and you have SLAs to
typically the remote linux server runs NRPE ... it can be installed relatively
easily via most package managers and/or source.
--
Mat W. - http://www.techadre.com
Date: Mon, 27 Jul 2009 17:14:58 -0400
From: tdenham...@gmail.com
To: nagios-users@lists.sourceforge.net
Subject:
perhaps you need a trailing slash or have a restriction in your .htaccess file?
have you tried with the specific file like index.html
did you specify the arguements? $ARG1$ will not add anything for your check.
--
Mat W. - http://www.techadre.com
From: m...@ena.com
To:
I think you'd then have to create two contacts per contact... one SMS and one
Email, then go with the info from the documentation here to set it up:
http://nagios.sourceforge.net/docs/3_0/oncallrotation.html
--
Mat W. - http://www.techadre.com
Date: Fri, 17 Jul 2009 11:57:56 +0200
jumping in a bit late on this one...
so it sounds like the check itself works on the local box... so if you run from
the nagios server
./libexec/check_nrpe -H server -P 5666 -t 10 -c check_root
and then...
./libexec/check_nrpe -H server -P 5666 -t 10 -c check_ora
could your
Well, unless you have the historical data to jam into the graphing application,
it will only be data going forward.
I found nagiosgraph simple and easy enough for my nagios setups. It requires
RRDtool. If graphing is a critical aspect, I would look for a more robust
graphing package
my server config file defintion is:
check_command check_nt!MEMUSE!-w 75 -c 90
I believe this is pretty much out of the box setup... of course you'll want
to check the check_nt command definition in the commands.cfg file.
--
Mat W. - http://www.techadre.com
From:
I have some info on how I did it here:
http://www.techadre.com/content/addon-nagios-event-log
Using NagEventLog on the windows boxes with an NSCA service on my Nagios server.
It works great in our environemnts... of course we all know how noisy a windows
event log can be, but we have
I'll second the WebInject vote. We use it heavily in my office to test our web
applications. Here is a simple example I used to demonstrate logging into a
drupal website and checking a specific page for content.
http://www.techadre.com/content/checking-drupal-status-nagios-and-webinject
I use nagiosgraph... it's just installing RRDTool and nagiosgraph, then
adding/modifying map file entries as needed. Most default checks can be
graphed automagically out of the box.
I have some info on using nagiosgraph on my site, some notes about RRDTool
versions, and even a few
if it's for windows event logs... i use NagEventLog... just made my life
easier. NSClient++ handles the active checks and NagEventLog handles passive
checks for Event Logs.
--
Mat W. - http://www.techadre.com
Date: Tue, 7 Jul 2009 14:20:48 +0300
From: nttbro...@gmail.com
To:
What is your service configuration? If you're checking SMTP remotely, there is
no need for NRPE here. I would guess your service configuration is not passing
the correct variables.
--
Mat W. - http://www.techadre.com
Date: Tue, 30 Jun 2009 20:04:49 -0700
From: deibert...@yahoo.com
To:
installing from source should be pretty easy on a Fedora system. any missing
dependencies can be installed with yum. the documentation is pretty good on
this topic as well letting you know what you may need.
make sure you have openssl-devel installed, that always trips most installs up.
do you host your website internally? if not, ping that host and or do an HTTP
check of it.
one thing i highly recommend is using a small little VPS ($10/mo even) to do
some basic monitoring. I use one personally for testing and to monitor my
websites, friends websites, our email and dns
Hrm, I bet you could even do a few things with a batch script. I haven't
flexed those muscles in awhile, but you would be surpised what can be done.
Would you care to share the script? I would love to try it out in my test
environment.
--
Mat W. - http://www.techadre.com
Date: Mon,
I don't know a way to view that... but that is a very useful bit of info that
should be added to host/service info pages. Sure it can't be too hard for
someone to create that tweak. Or submit it as a feature request...
--
Mat W. - http://www.techadre.com
Date: Thu, 25 Jun 2009 16:11:20
The documentation on this is actually pretty good...
http://nagios.sourceforge.net/docs/3_0/objectinheritance.html
If you have a host that use's the template... then in that host's config you
define the same value again, it will override... except if you use the ! and
+ signs to change
you can probably easilly fix with openssl-devel
if you have yum... yum install openssl-devel is all you have to do.
--
Mat W. - http://www.techadre.com
Date: Wed, 24 Jun 2009 15:22:51 +0200
From: jerome.me...@baldata.ch
To: Nagios-users@lists.sourceforge.net;
I think you may need to escape the backslash itself with another backslash ...
vaguely recall having to do that myself in some checks when passing values that
had a backslash in it.
--
Mat W. - http://www.techadre.com
Date: Wed, 24 Jun 2009 15:12:20 +0200
From: tore.lo...@gmail.com
To:
Alot depends on the type of checks, the check frequency, and timeout values.
For example, we have ALOT of webinject (perl script) tests which can take 20-40
seconds to complete. With a retry_interval of 1min, when we have some
issues, we can quickly have many checks running simultaneously
just a thought...
is $HOSTNAME$ valid? sure you don't mean $HOSTADDRESS$ instead?
--
Mat W. - http://www.techadre.com
Date: Sat, 20 Jun 2009 11:34:17 +0530
Subject: Re: [Nagios-users] Return code of 142 is out of bounds
From: victor...@gmail.com
To: lmw94...@hotmail.com
CC:
Ahhh... perhaps you're calling the directory as well as the file explicitly in
nagios.cfg?
--
Mat W. - http://www.techadre.com
Date: Mon, 22 Jun 2009 05:12:29 -0700
From: subscript...@kkeane.com
CC: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] REPOST: Problem in
sounds like a possible connectivity issue between the boxes...
check connectivity, services, firewall settings, and DNS (if using host
addresses vs. IPs). that's my usual run down of issues.
--
Mat W. - http://www.techadre.com
Date: Mon, 22 Jun 2009 11:20:25 -0400
From:
42 matches
Mail list logo