Re: [Nagios-users] Which Is Best

2011-08-25 Thread Mathew Walker
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

Re: [Nagios-users] Newbie questions for Nagios XI latest release

2011-08-17 Thread Mathew Walker
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

Re: [Nagios-users] What the best way to monitor Windows?

2011-08-05 Thread Mathew Walker
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

Re: [Nagios-users] RRDTool exits with errors - ERROR: can't make a graph without contents

2011-07-28 Thread Mathew Walker
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.

Re: [Nagios-users] Event Handler Question

2011-07-28 Thread Mathew Walker
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:

Re: [Nagios-users] NRPE issues

2011-07-14 Thread Mathew Walker
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:

Re: [Nagios-users] extra checkresults files being left behind

2010-06-10 Thread Mathew Walker
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

[Nagios-users] extra checkresults files being left behind

2010-06-09 Thread Mathew Walker
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:

Re: [Nagios-users] need expert advice/suggestions

2009-12-08 Thread Mathew Walker
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.

Re: [Nagios-users] CHECK_NRPE: Received 0 bytes from daemon.

2009-10-26 Thread Mathew Walker
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

Re: [Nagios-users] CHECK_NRPE: Received 0 bytes from daemon.

2009-10-26 Thread Mathew Walker
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

[Nagios-users] Disabling Notifcations...

2009-10-15 Thread Mathew Walker
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

Re: [Nagios-users] Disabling Notifcations...

2009-10-15 Thread Mathew Walker
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

Re: [Nagios-users] remote check with no nagios tools at remote node

2009-10-01 Thread Mathew Walker
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

Re: [Nagios-users] Object Definitions with Multiple Templates

2009-09-23 Thread Mathew Walker
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

Re: [Nagios-users] Problems installing NRPE

2009-09-22 Thread Mathew Walker
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:

Re: [Nagios-users] Plugin to monitor a file

2009-09-16 Thread Mathew Walker
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

Re: [Nagios-users] CHECK_MSSQL CRITICAL allways as output when use check_sql for MSSQL checking

2009-09-11 Thread Mathew Walker
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

Re: [Nagios-users] CHECK_MSSQL CRITICAL allways as output when use check_sql for MSSQL checking

2009-09-10 Thread Mathew Walker
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

Re: [Nagios-users] Nagio + SMS

2009-09-02 Thread Mathew Walker
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

Re: [Nagios-users] Nagios Queries

2009-07-27 Thread Mathew Walker
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:

Re: [Nagios-users] warning HTTP

2009-07-17 Thread Mathew Walker
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:

Re: [Nagios-users] notification_interval depending upon contact

2009-07-17 Thread Mathew Walker
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

Re: [Nagios-users] Monitoring disk usage

2009-07-17 Thread Mathew Walker
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

Re: [Nagios-users] Graphing data

2009-07-17 Thread Mathew Walker
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

Re: [Nagios-users] Critical Memory Alert

2009-07-09 Thread Mathew Walker
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:

Re: [Nagios-users] Monitoring Eventlogs on windows server

2009-07-09 Thread Mathew Walker
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

Re: [Nagios-users] a special http check

2009-07-09 Thread Mathew Walker
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

Re: [Nagios-users] How to graph historical data

2009-07-09 Thread Mathew Walker
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

Re: [Nagios-users] Configure NSCA in NSClient++.

2009-07-09 Thread Mathew Walker
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:

Re: [Nagios-users] check_smtp issue

2009-07-01 Thread Mathew Walker
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:

Re: [Nagios-users] general inquiry of method of install for Nagios 3.1.2 on Fedora 9 system

2009-07-01 Thread Mathew Walker
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.

Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Mathew Walker
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

Re: [Nagios-users] How to monitor Windows Scheduled Tasks?

2009-06-29 Thread Mathew Walker
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,

Re: [Nagios-users] Server/host Inheritance

2009-06-26 Thread Mathew Walker
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

Re: [Nagios-users] Server/host Inheritance

2009-06-25 Thread Mathew Walker
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

Re: [Nagios-users] nrpe-2.12

2009-06-24 Thread Mathew Walker
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;

Re: [Nagios-users] Escaping broke i 3.1.1 ?

2009-06-24 Thread Mathew Walker
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:

Re: [Nagios-users] Infrastructure help!

2009-06-22 Thread Mathew Walker
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

Re: [Nagios-users] Return code of 142 is out of bounds

2009-06-22 Thread Mathew Walker
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:

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

2009-06-22 Thread Mathew Walker
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

Re: [Nagios-users] socket time out

2009-06-22 Thread Mathew Walker
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: