Re: [Nagios-users] Host is not allowed to talk to us!

2008-12-12 Thread Andy Shellam
Grant, Are remote checks from your Nagios server to this NRPE client succeeding? Is xxx.xxx.xxx.xxx one of your own, or an external IP address? I'm thinking there may be a remote system trying to talk to your NRPE system that it's not allowing (which is correct.) It could potentially be som

Re: [Nagios-users] Host is not allowed to talk to us!

2008-12-12 Thread Andy Shellam
at would take of that. What am I missing? > > Thanks, Andy! > > > > - Original Message > From: Andy Shellam > To: Grant Lowe > Cc: nagios-user Mailinglist > Sent: Friday, December 12, 2008 10:45:09 AM > Subject: Re: [Nagios-users] Host is not allowed to ta

Re: [Nagios-users] launching ssh session via action_url (or other mechanism)

2008-12-14 Thread Andy Shellam
Hi Eric, I'm not sure if PuTTY or other SSH clients support the ssh:// URL handler directly, but if not you can add it yourself. See the MSDN documentation at the URL below. You could add a protocol handler for the "ssh://" protocol, then if you put "ssh://192.168.0.1" as your URL in Nagios

Re: [Nagios-users] launching ssh session via action_url (or other mechanism)

2008-12-14 Thread Andy Shellam
Ignore the | in the shell open command example - don't know where they came from! i.e. "C:\putty.exe" -ssh "%1" Andy Shellam wrote: > Hi Eric, > > I'm not sure if PuTTY or other SSH clients support the ssh:// URL > handler directly, but if

Re: [Nagios-users] info on nagios

2008-12-15 Thread Andy Shellam
You can use NRPE on remote servers to be monitored from a central Nagios server, yes. If you need any more information we'll need more explanation from you about what it is you'd like to do. Thanks, Andy Mario Almeida wrote: > Hi All, > > I am new to Nagios. > > would like to know if Nagios ha

Re: [Nagios-users] service notifications for host down

2008-12-15 Thread Andy Shellam
Hi James, Does your host appear as down in Nagios? If not, your host's check_command may be returning inaccurate information (telling Nagios it's up when it's actually down.) Andy James wrote: > Why would I get service notifications for a host that is down? > > > -

Re: [Nagios-users] info on nagios

2008-12-15 Thread Andy Shellam
n. > > The monitoring server and monitoring proxy server at the remote > location will be connected, monitoring server will not connect > directly to the clients at the remote location. > > Hope i have made my self clear > > Regards, > Remy > > > On Mon, Dec

Re: [Nagios-users] Cannot add remote-linux server to my setup to be monitored

2008-12-23 Thread Andy Shellam
Rahul Nabar wrote: > On Tue, Dec 23, 2008 at 4:02 AM, Kenneth Holter wrote: > >> Just a little side note: I don't think you need to maintain the hostgroup<-> >> host relationship in both the hostgroup and host definitions. Keep the >> definition in one of the two to get a cleaner code. Someon

Re: [Nagios-users] Nagios compatibility

2009-01-20 Thread Andy Shellam
Kevin Keane wrote: > Nagios won't work until you get this running, so it is not really > surprising that you can't log in right now. > Nagios will function without the startup script perfectly happily - you just start and stop it manually - /usr/local/nagios/bin/nagios -d /usr/local/nagios/et

Re: [Nagios-users] nagios service flapping

2009-01-24 Thread Andy Shellam
Rahul, Look through your Nagios logs or run an availability report on one of the services for the time the flapping was happening. This report will list what the output was at the time it went from an OK to CRITICAL (or WARNING) and vice versa - it should give you a pointer to the root cause.

Re: [Nagios-users] NRPE installation fails since check_nrpe plugin is not found in the libexec directory

2009-01-26 Thread Andy Shellam
Hi Rahul, The error it's returning suggests that "check_nrpe" is not in the "src" subdirectory of the current directory (/usr/local/src/nagios_nodes/downloads/nrpe-2.8/src.) It looks as if the plugin has not been built. Do you in fact have "check_nrpe" in the above mentioned directory? What

Re: [Nagios-users] NRPE installation fails since check_nrpe plugin is not found in the libexec directory

2009-01-26 Thread Andy Shellam
Hi Rahul, > make all does throw a bunch of SSL errors of the sort: > > /usr/include/openssl/bn.h:287: error: expected > specifier-qualifier-list before ‘BN_ULONG’ > /usr/include/openssl/bn.h:303: error: expected > specifier-qualifier-list before ‘BN_ULONG’ > /usr/include/openssl/bn.h:449

Re: [Nagios-users] Nagios 3.1.0 - Update check feature

2009-01-29 Thread Andy Shellam
Hi, > If Nagios' DNS held a TXT record indicating the latest released > version in a given trend, then it can be checked in a way that is much > gentler -- a DNS RR is cached automatically by the DNS servers used, > depending on how Nagios.org defines the RR. > > An "update check" can simply compa

Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2

2009-02-05 Thread Andy Shellam
Martyn, By the looks of it, there's a missing ";" at the end of one of the queries in that file. I don't use NDODB so I cannot elaborate any more than that. Try running the command again and simply putting ; on the line beginning with "->" HTH, Andy Martyn wrote: > > Hi Group. > > I'm tryin

Re: [Nagios-users] Ubunt- Nagios3-Centreon 2-ndo2

2009-02-05 Thread Andy Shellam
gt; > Will take a look into in to see what it is > > Thanks for the reply though, it got me one stage further > > Martyn > > -Original Message- > From: Andy Shellam [mailto:andy-li...@networkmail.eu] > Sent: 05 February 2009 21:12 > To: Martyn > Cc: nagios-

Re: [Nagios-users] Sub-views for customers

2009-02-14 Thread Andy Shellam
Hi Alan, Nagios Looking Glass is specifically designed for this situation - provided you don't want them to submit actions etc. You have to edit the filters (views) in NLG, setup authentication in Apache for different customers to login, then set which views each customer can see. www.nagiosl

Re: [Nagios-users] Difference between "% Total Time" and "% Known Time"

2009-03-21 Thread Andy Shellam
Hi Ayotunde, % known time is the amount of time that Nagios definitely knows the state of the hosts/services. For example if your Nagios system is down for an hour in a 24-hour period (or has no data from result checks to ascertain the state of devices) the % total time will be 100% (24 hours)

Re: [Nagios-users] how to add Q1,Q2,Q3,Q4 reports

2009-04-08 Thread Andy Shellam
XYZ XYZ wrote: > Any idea how do i add few custom reports to nagios "report period" > drop down list in "availability report" like Q1(first quarter), > Q2(second quarter)... etc. > > > Edit the source code and recompile? --

Re: [Nagios-users] NRPE_NT Checks on Mapped Network Drive

2009-04-14 Thread Andy Shellam
Hi Michael, This is in no way related to NRPE or Nagios, but we had similar issues while trying to automatically grab files from a UNC path in a Windows scheduled task. In the end we modified the batch script run by the scheduled task to automatically connect and authenticate to the share, gra

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

2009-04-22 Thread Andy Shellam
Hi Gabriel, > Some extra information, > > > > Nagios Version 3.0.6 > > NRPE Version2.12 > > OS CentOS 5.2 > I recently set up a CentOS 5.3 box and afterwards noticed that the firewall was set to reject all non-local

Re: [Nagios-users] NLG but first..

2009-04-23 Thread Andy Shellam
Hi Craig, > Thanks for the reply and for the welcome.. I like the look and feel of NLG > 110, the more I look > at it the more I like it, I have mailed Andy asking for help on the filters > as their was no > documentation with this verion, however with his site being down I don't hold > out

Re: [Nagios-users] Checking Bacula Server

2009-04-28 Thread Andy Shellam
Hi Eduardo, I simply monitor the TCP ports Bacula used (server and client) and the process counts of the bacula-fd, -sd and -dir processes. It's fairly basic but it does the job. Andy Eduardo Barreto wrote: > Hi all, > > Does anybody know how to check a Bacula Server? I've installed > check-b

Re: [Nagios-users] Connection refused

2009-05-07 Thread Andy Shellam
Surajit, Is the service actually running on that server? Can you telnet to the NSClient++ port manually? Regards, Andy Surajit Mukherjee wrote: > I am getting "Connection refused" status information on a Windows 2003 > Server that is using NSClient++. Out of the 7 Windows server I have in > >

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

2009-05-10 Thread Andy Shellam
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

Re: [Nagios-users] Nagios Looking Glass

2008-01-17 Thread Andy Shellam
Hi Mariusz, I think you sent me an e-mail through my website a couple of weeks ago. If you can get PHP 5.2 running on Apache 1.3 - that's the main requirement. I have heard of stability issues with PHP 5 on Apache 1.3 (that and coupled with the fact the Apache Group don't recommend using Apache 1

Re: [Nagios-users] Subject: Nagios Looking Glass

2008-01-27 Thread Andy Shellam
Hi Nicolas, I'd e-mailed you not so long back (couple of weeks) through my personal address about this. I've explained what's required, and I'm happy to implement a solution for you before v2 of NLG is developed. If anyone else can and wants to do this, the solution is: 1. Setup HTTP authenticat

[Nagios-users] Nagios Looking Glass 1.1.0 beta 1 released

2008-02-18 Thread Andy Shellam
www.nagioslookingglass.co.uk/downloads. Regards, Andy Shellam Lead Developer - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01

Re: [Nagios-users] Nagios Looking Glass 1.1.0 beta 1 released

2008-02-18 Thread Andy Shellam
that going to be an issue? I'm not talking about removing any copyright or license information from the source files itself, just the customer facing side. > > Thanks > > Giles > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy S

Re: [Nagios-users] Nagios Looking Glass 1.1.0 beta 1 released

2008-02-19 Thread Andy Shellam
was indeed a hack put in simply to tide people over until v2 is ready. Andy > - Original Message - > Subject: Re: [Nagios-users] Nagios Looking Glass 1.1.0 beta 1 released > From: Lars Stavholm <[EMAIL PROTECTED]> > To: "Andy Shellam" <[EMAIL PROTECTED]>

[Nagios-users] (No output!) Errors in Nagios 2.4

2006-08-27 Thread Andy Shellam
Hi, I've been using Nagios for around 5 months now with no problems. I've recently added a new server onto my network, which has added somewhere in the region of another 3 hosts and 12 services onto Nagios. Since then I now keep getting random errors in the "Status Information" for services o

Re: [Nagios-users] (No output!) Errors in Nagios 2.4

2006-08-27 Thread Andy Shellam
Nagios/2.4/dns.mailnetwork.co.uk" -f > follow -w 30 -c 60 -t 120' - nagios > HTTP OK HTTP/1.1 200 OK - 1023 bytes in 0.006 seconds > |time=0.006282s;30.00;60.00;0.00 size=1023B;;;0 Andy. Hugo van der Kooij wrote: > On Sun, 27 Aug 2006, Andy Shellam wrote: > >

Re: [Nagios-users] (No output!) Errors in Nagios 2.4

2006-08-27 Thread Andy Shellam
Marc Powell wrote: > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Andy Shellam >> Sent: Sunday, August 27, 2006 5:22 AM >> To: nagios-users@lists.sourceforge.net >> Subject: [Nagios-users] (No out

Re: [Nagios-users] (No output!) Errors in Nagios 2.4

2006-08-28 Thread Andy Shellam
Hi Brian Whenever I'd changed the configuration I always used "killall -HUP nagios." The machine does use the rc init scripts on bootup and shutdown.  Several times I've kill'd the nagios process so absolutely nothing of nagios was running, removed all the state information from nagios/var, t

Re: [Nagios-users] (No output!) Nagios 2.5

2006-08-28 Thread Andy Shellam
Hi Michael, I've not long reported the same sort of error in 2.4. On my machine a reboot has *appeared* to sort it (keeping fingers and things crossed.) If I forced Nagios to re-do the check it would come back fine, but in most scheduled checks it would report "No output!" and an incorrect sta

Re: [Nagios-users] (No output!) Errors in Nagios 2.4

2006-08-28 Thread Andy Shellam
Hi Patrick Nothing telling in the logs as far as I can see. On the Nagios server: > Aug 28 14:32:36 dns nagios: SERVICE ALERT: Sydney-1;Disk Space on > /endeavour;UNKNOWN;HARD;1;Cannot map "tcp" to protocol number That's the only line for that time and date. On the client, absolutely nothing si

Re: [Nagios-users] Scripts nagios....

2006-08-29 Thread Andy Shellam
Try www.nagiosexchange.org - I know there's a check_mem script on there to check physical memory usage. The official Nagios plugins (http://sourceforge.net/projects/nagiosplug/) contains check_sensors which I believe will check CPU temperature etc using lmsensors, and check_swap and check_disk

Re: [Nagios-users] CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages

2006-08-30 Thread Andy Shellam
By default on NRPE you are not allowed to use commandline arguments, that is - passing something like "check_nrpe -H debianserver -p 5666 -c check_ping!$HOSTADDRESS$", and having in your nrpe.cfg "command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$". This is dangerous in that a c

Re: [Nagios-users] Nagios - Ping - You must specify a server address or host name

2006-08-30 Thread Andy Shellam
Hi Ranjeet Can you post your command string for this plugin and similarly the host/service that uses this command? I'm using exactly the same versions as you except it's on Fedora 5, and not had a problem (both local and remote commands.) Mine are as follows: Command definition: define command

Re: [Nagios-users] Nagios - Ping - You must specify a server

2006-08-31 Thread Andy Shellam
Hi Ranjeet, I see you're trying to use check_nrpe to pass the arguments of check_ping to? It's a case of what exactly are you trying to do here? There are 2 things I can see you're trying to do: 1. Ping host $HOSTADDRESS$ from the Nagios machine 2. Send a request via NRPE to another machine t

Re: [Nagios-users] check_ping: %s: Warning threshold must be integer or percentage!

2006-08-31 Thread Andy Shellam
Ranjeet, Only just got this e-mail after I'd replied! OK this is what's happening. Firstly, check_ping on your Nagios machine is ignored by nrpe - as that contains it's own command definitions. So, here: command[check_ping]=/usr/lib/nagios/plugins/check_ping -H $ARG1$ -w $ARG2$ -c $AGR3$ -p 5

Re: [Nagios-users] Logged in as ?

2006-08-31 Thread Andy Shellam
Hi, I also have this problem. I'd like my users to have different rights dependent on their login name, but I can't use anything unless "default_user_name" is set, and then it always assumes the role of the default user. I've got a htpasswd.users file in /usr/local/nagios/etc which is readabl

[Nagios-users] SMART hard-disk monitoring

2006-08-31 Thread Andy Shellam
Has anyone got a check plugin working for monitoring SMART hard disk status thresholds? The only one I found on nagiosexchange (check_smartmon) needs to be run as root to get permission to read the drive stats, and also doesn't work - it causes the below Python trace-back: Traceback (most rece

[Nagios-users] Bug in 3.0.2 with service escalation contact groups

2008-05-26 Thread Andy Shellam
owing host escalation works, and produces no errors: define hostescalation { hostgroup_nameAll Servers first_notification3 last_notification0 notification_interval1800 contact_groups NetServe Support } Also, with both host and service

Re: [Nagios-users] Can I configure my own shell scripts

2008-05-26 Thread Andy Shellam
Install the Nagios sample configuration files and you will see how the configuration is laid out. The documentation (supplied with the installation) is really decent; at least have a look and then come back with specific questions. Andy Mangesh Dhamale wrote: > hi, > > Can you give me any examp

Re: [Nagios-users] [Nagios-devel] Bug in 3.0.2 with service escalation contact groups

2008-05-27 Thread Andy Shellam
ectives use a space as their field separators? Other fields such as notification_options use commas, which was why I thought it was OK to use spaces in names. Thanks again, Andy Mathieu Gagné wrote: > Hi Andy, > > Andy Shellam wrote: >> >> I'm more inclined to thi

Re: [Nagios-users] [Nagios-devel] Bug in 3.0.2 with service escalation contact groups

2008-05-27 Thread Andy Shellam
the strtok() functions, which explains why a host escalation wouldn't register "Andy Shellam" as a contact name, but would recognise "NetServe Support" as a contact group. After applying these changes and rebuilding Nagios, nagios -v ... would recognise the service escalat

Re: [Nagios-users] [Nagios-devel] Bug in 3.0.2 with service escalation contact groups

2008-05-27 Thread Andy Shellam
Hi, My comments are inline. Quoting Mathieu Gagné <[EMAIL PROTECTED]>: > Hi, > > Andy Shellam wrote: >> >> The lines you sent for the host escalation were actually for the >> host itself! The host escalation's contacts also had a space in >>

[Nagios-users] All hosts status undetermined in reports

2008-05-27 Thread Andy Shellam
ugh all other CGIs. I'm wondering if this is related to my problem earlier with spaces in name definitions? That doesn't, however explain why all hosts are undetermined, as my other hosts are single-word names (e.g. Sydney.) Thanks, -- Andy Shellam Bu

[Nagios-users] [Fwd: All hosts status undetermined in reports]

2008-05-29 Thread Andy Shellam
ised" message, yet I can read the status perfectly fine in the other CGIs for these hosts. Andy Original Message Subject:All hosts status undetermined in reports Date: Tue, 27 May 2008 22:55:50 +0100 From: Andy Shellam <[EMAIL PROTECTED]> To: nagios-

Re: [Nagios-users] [Fwd: All hosts status undetermined in reports]

2008-05-29 Thread Andy Shellam
Hi Marc, Quoting Marc Powell <[EMAIL PROTECTED]>: > > On May 29, 2008, at 1:23 PM, Andy Shellam wrote: > >> About the below e-mail I sent on Tuesday; the reports appears to have >> resolved themselves - all host statuses are now appearing as up from >> the >

Re: [Nagios-users] [Fwd: All hosts status undetermined in reports]

2008-05-29 Thread Andy Shellam
; to: printf("\n",servicegroup_name); Note that host groups and services didn't suffer this problem - just hosts and service groups! Can this fix make into 3.0.3? Thanks, Andy Quoting Andy Shellam <[EMAIL PROTECTED]>: > Hi Marc, > > Quoting Marc Powell <[

Re: [Nagios-users] Questions about Nagios Looking Glass

2008-06-24 Thread Andy Shellam
Hi Jonathan, Firstly thanks for giving NLG a shot. v1.1.0 stable will be out shortly (hopefully this weekend) and does fix the issue you've noticed with Firefox. Later versions of Firefox 2 stopped recognising NLG's ".css.tpl" files as CSS stylesheets. The easy fix is to rename all ".css.tpl"

Re: [Nagios-users] Questions about Nagios Looking Glass

2008-06-25 Thread Andy Shellam
x27;PHP_AUTH_USER'] etc.) Regards, Andy Matthew Macdonald-Wallace wrote: > On Wed, 25 Jun 2008 00:39:36 +0100 > Andy Shellam <[EMAIL PROTECTED]> wrote: > > >> There is no current way to exclude hosts that are in scheduled >> downtime or have been acknowledge

Re: [Nagios-users] Sidebar disappearing in Firefox

2008-07-02 Thread Andy Shellam
Hi Niall, Are you talking about Nagios' sidebar (e.g. the navigation links) or Firefox's sidebar (e.g. Bookmarks/History?) I have seen this issue in other multi-frame websites in Firefox, so it's not just specific to Nagios. My website CMS uses frames, and it happens occasionally with it as we

Re: [Nagios-users] [Nagiosplug-help] plugin help

2008-07-06 Thread Andy Shellam
on partition. > > define service{ >use local-service ; Name of > service template to use >host_name localhost >service_description Root Partition > check_command check_local_disk!20%!1

Re: [Nagios-users] [Nagiosplug-help] plugin help

2008-07-06 Thread Andy Shellam
be determined >>contact_groups admins ; Notifications get >> sent out to everyone in the 'admins' group >> notification_options w,u,c,r ; Send notifications about warning, >> unknown, critical, and recovery events >>no

Re: [Nagios-users] Thoughts about a custom plugin

2008-07-20 Thread Andy Shellam
Hi, Thomas Guyot-Sionnest wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 20/07/08 11:19 AM, stan wrote: > >> On Sun, Jul 20, 2008 at 10:16:45AM -0500, Marc Powell wrote: >> >>> On Jul 20, 2008, at 9:28 AM, stan wrote: >>> After having looked at the way Nagios p

Re: [Nagios-users] Thoughts about a custom plugin

2008-07-21 Thread Andy Shellam
Hi, NRPE could do this job, sure you could write a custom plugin, but there are 2 possible alternatives already there (albeit they might be overhead for what you're trying to do, unless you want to monitor the services on the dual-homed machine with Nagios as well.) You could run NRPE on each

Re: [Nagios-users] NRPE

2008-07-22 Thread Andy Shellam
4 public-facing servers. All unnecessary ports are blocked by a firewall, port 5666 is limited to our Nagios server only, and NRPE is configured (through its config file) to only accept connections from our Nagios server. Never had any issues. Regards, Andy-- Andy Shellam Business S

Re: [Nagios-users] NRPE

2008-07-22 Thread Andy Shellam
Brent Clark wrote: > Matthew Macdonald-Wallace wrote: > >> It's basically a firewall rule that states: >> > > See thats what i didnt want. > > Im sure we the same, in that we run very minimalistic (kernel tweaking > too) software installation / services (namely just http, ssh). But now I

Re: [Nagios-users] Display system time

2008-07-24 Thread Andy Shellam
Hi, This is extremely simple - set up an NRPE command that simply runs "uptime" as it's check command or as previously suggested, "date" and you'll get the following info: 23:18:05 up 1 day, 6:29, 0 users, load average: 0.00, 0.00, 0.00 or Thu Jul 24 23:18:38 BST 2008 I here rumours there is a

[Nagios-users] Notifications sent in scheduled downtime

2008-07-30 Thread Andy Shellam
:10:55 sysadminDirector is being upgraded 30-07-2008 21:10:4730-07-2008 22:10:47 Fixed 0d 1h 0m 0s 20 N/A <http://control.net-station.co.uk/nagios/cgi-bin/cmd.cgi?cmd_typ=79&down_id=20> The scheduler agent says "In S

Re: [Nagios-users] Notifications sent in scheduled downtime

2008-07-30 Thread Andy Shellam
Forgot to mention this is Nagios 3.0.3 running on Debian 4.0. Thanks, Andy Andy Shellam wrote: > Hi, > > I have 3 services - Director Scheduler Agent, Director Storage Agent, > and Director Client Agent. I had to upgrade these 3 services, so I > scheduled fixed downtime for

[Nagios-users] Nagios Looking Glass 1.1.0 beta 2 released

2008-08-04 Thread Andy Shellam
G process. The demo site has also been put back online at www.net-station.co.uk, running the latest version (1.1.0 beta 2.) Kind regards, Andy Shellam Project Manager - This SF.Net email is sponsored by the Moblin Y

[Nagios-users] Nagios Looking Glass - what do you want to see?

2008-08-04 Thread Andy Shellam
t us know if there's anything we can do to make it more useful for you. If you've looked at it, but not used it, then please tell us why, and we'll do our best to make it a product that will be of use to you. Regards, Andy Shellam Project Manager --

Re: [Nagios-users] Check_SSH Plug-In

2008-08-18 Thread Andy Shellam
Wouldn't negate cause an "OK" state to be a "Critical" state instead of a "warning" or can this be configured? Marc Powell wrote: > On Aug 18, 2008, at 3:22 PM, John Moore wrote: > >> I want the check_ssh plug-in to report with a Warning when ssh is >> running, and Green when ssh is off. >>

[Nagios-users] NRPE 2.12 compile failure

2008-09-15 Thread Andy Shellam
Hi, I've just had a new Nagios server delivered; it's running Debian 4. I've installed the latest Apache, PHP, OpenSSL packages and Nagios 3.0.3 and NRPE 2.12. However it looks like NRPE isn't setting the include flags correctly for the compiler. OpenSSL is installed in /usr/local/openssl, and

[Nagios-users] [Fwd: NRPE 2.12 compile failure]

2008-09-15 Thread Andy Shellam
openssl --with-ssl-inc=/usr/local/openssl/include --with-ssl-lib=/usr/local/openssl/lib --with-nrpe-user=nagios --with-nrpe-group=localservice Thanks, Andy Original Message Subject:[Nagios-users] NRPE 2.12 compile failure Date: Mon, 15 Sep 2008 17:57:44 +0100 From:

Re: [Nagios-users] Problem with check_procs

2008-09-25 Thread Andy Shellam
Hi, You should read up on either NRPE, NCSA or one of the check_ssh plugins to do what you want. All standard plugins execute directly on the Nagios box. The above solutions allow for plugins to be executed on a remote box and send the result back to Nagios. NRPE is when Nagios requests the

[Nagios-users] Nagios Looking Glass 1.1.0b3 released

2008-09-29 Thread Andy Shellam
The Nagios Looking Glass project is pleased to announce the release of 1.1.0 beta-3. The release has come a couple of weeks later than we originally planned due to unforeseen issues with the current codebase of the v1 series, however these issues have now been overcome and beta-3 is available

Re: [Nagios-users] Nagios cgi's bomb out with fatal: libglib-2.0.so.0

2008-10-03 Thread Andy Shellam
Hi Ben, I've never used Solaris before, so this is just a quick stab in the dark - what are the permissions like on /usr/local/lib/libglib-2.0.so.0? I.e. can the user Apache is running as actually get to that file, from a permissions point-of-view? Also I know SELinux has caused numerous issu

Re: [Nagios-users] Monitoring Shared Storage

2008-10-04 Thread Andy Shellam
Hi Jay, I assume your NFS server monitored by Nagios too? If so can you monitor the disk/partition that /home on your servers point to on the NFS machine? i.e. have a /home check_disk service configured in Nagios to your NFS server host. You could then set all 50 other machines' /home servic

Re: [Nagios-users] nrpe: plugins on remove host?

2008-10-06 Thread Andy Shellam
Hi Marcelo, To monitor a remote host, you need the check_nrpe plugin on the Nagios server (this is built as part of the NRPE package) and on each remote host you need the NRPE server and the plugins. On a side-note, you also need OpenSSL if you want the channel between Nagios and the remote ho

Re: [Nagios-users] Simulating downtime in nagios

2008-10-06 Thread Andy Shellam
Hi Kelly, When I've done this in the past, for network services (e.g. http/smtp checks) I've actually blocked the target port on the Nagios server, which gives a better simulation that the service is down (e.g. for HTTP checks, block the Nagios server's outbound port 80.) This works for us be

Re: [Nagios-users] [Nagios-devel] how to specify multiple dependencies

2008-10-09 Thread Andy Shellam
Hi Guillaume, >> define servicedependency { >> host_name A >> service_description X >> dependent_host_name B,C >> dependent_service_description Y >> } >> >> I think this says that service X on host A depends on ser

Re: [Nagios-users] NRPE not display correct results

2008-10-09 Thread Andy Shellam
Hi, I thought that check_disk returns a warning/error when the disk space falls _below_ the values you set? Therefore if it's giving 81% an OK but your warning level is 80% - that's correct because 81 (the current free space) is greater than 80 (your warning) and 10 (your critical.) Or is it

Re: [Nagios-users] service dependencies on a single host?

2008-10-14 Thread Andy Shellam
Hi Thomas, Thomas Guyot-Sionnest wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 14/10/08 01:29 PM, Michael W. Lucas wrote: > >> Hi, >> >> I'm currently monitoring many services on certain hosts via SNMP, and >> making extensive use of host groups to ease configuration for my >>

Re: [Nagios-users] How do I check if a website is up?

2008-10-21 Thread Andy Shellam
Hi Josh, You can, I believe, define a host using it's DNS name, however I and I'm sure the rest of the community would discourage that for the simple reason that if the DNS doesn't resolve, that host will be deemed down. However to check a website you can still add the host via it's IP address

Re: [Nagios-users] [Nagiosplug-help] Host monitoring

2008-10-23 Thread Andy Shellam
blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.31 ms > nagios-09-23-2008-00.log:[1222097778] SERVICE ALERT: > blarney;ping;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.35 ms > nagios-09-23-2008-00.log:[1222098078] SERVICE ALERT: > blarney;ping;OK;HARD;1;PING OK - Packet los

Re: [Nagios-users] [Nagiosplug-help] Host monitoring

2008-10-27 Thread Andy Shellam
Hi Marc, Marc Powell wrote: > On Oct 27, 2008, at 3:42 PM, Grant Lowe wrote: > - cut -- > >> [1225115861] SERVICE NOTIFICATION: glowe;blarney;Check Remote Zombie >> Processes;CRITICAL;notify-host-by-email;PROCS CRITICAL: 29 processes >> with STATE = Z >> [1225119461] SERVICE NOTIFIC

Re: [Nagios-users] Advanced authentication

2008-10-28 Thread Andy Shellam
Hi Dustin, As the htaccess authentication is provided by Apache, you can certainly use any authentication Apache supports (LDAP, SQL etc.) See the following Apache manual pages: http://httpd.apache.org/docs/2.2/howto/auth.html - htaccess authentication howto http://httpd.apache.org/docs/2.2/mo

Re: [Nagios-users] nrpe script

2008-10-31 Thread Andy Shellam
Have you got sudo configured on your NRPE host? I get this error on new servers when I forget to add the Nagios/NRPE user to /etc/sudoers and allow them access to run the plugins without needing a password. Try running your command as the Nagios/NRPE user on your NRPE host like so (alter path

Re: [Nagios-users] Monitoring telnet connections

2008-11-01 Thread Andy Shellam
Hi Machiel, Is it something as simple as checking that the port on your Windows/Linux box is alive and responding? If so the check_tcp plugin will do that for you. You can also configure it to send a specific string (e.g a login request) and expect a response back (e.g. a login response.) /us

Re: [Nagios-users] OpMon.org

2008-11-03 Thread Andy Shellam
Junior, I believe that argc and argv only get populated when register_argc_argv is turned on in php.ini as they are considered redundant in web applications. Not sure if this is a Fruity or OpCfg issue. Andy Junior Cunha wrote: > Hi, > >This problem was already reported in our mailing lis

Re: [Nagios-users] migrate 2.9 to 3.0: check configuration failed

2008-11-10 Thread Andy Shellam
Hi Julien, Julien TOUCHE wrote: > Hello > > i'm trying to migrate my nagios install on 3.0. i use openbsd (4.4) with > nagios port. > > after updating my configuration with (1), i get > > > # nagios -v `pwd`/nagios.cfg > > Nagios 3.0.3 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.

Re: [Nagios-users] Where in the docs...

2008-12-04 Thread Andy Shellam
Hi David, This explains how macros work: http://nagios.sourceforge.net/docs/3_0/macros.html This is the list of macros available: http://nagios.sourceforge.net/docs/3_0/macrolist.html I assume you're using Nagios 3.0 - replace 3_0 as appropriate in the URL if you're not. Hope this helps, An

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread Andy Shellam
David Dyer-Bennet wrote: > I'm running Nagios 2.10 (the Centos 5.2 packaged version). > > I want to do some small local checks on each of a bunch of real and > virtual servers, and I really don't want to have to set up Nagios (even a > minimal install) on each of them just to check uptime, load ave

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread Andy Shellam
David Dyer-Bennet wrote: > On Fri, December 5, 2008 13:26, Patrick Morris wrote: > > I have a bad history of failure to accomplish much of anything in at least > three runs at using SNMP to get data from various devices, so I tend to > shy away from the concept. It seems to be a horrendous lear

Re: [Nagios-users] help needed .. newbie

2006-09-05 Thread Andy Shellam
It's always better to put the full path to the plugins (or check this is so in minimal.cfg.) $USER1$ I believe has the path to the plugins folder (nagios/libexec), so you can use "$USER1$/check_ping -H localhost" in a service definition as the check command to ping the localhost. Return code

Re: [Nagios-users] Nagios 2.5

2006-09-05 Thread Andy Shellam
Error: Command 'check-host-alive' has already been defined It's exactly what it says, the command "check-host-alive" has either been defined twice in the same configuration file, or it's defined in 2 config files. What are the settings for "object configuration files" in your nagios.cfg (the

Re: [Nagios-users] Nagios 2.5

2006-09-05 Thread Andy Shellam
Hi Kaushal, As John said, you've got 3 config files which all contain (some of the same) commands. When I started out with Nagios I found it easier to start writing your own config files from scratch. In /etc/nagios, I created another directory called "nagios_cfg." In nagios_cfg, I created f

Re: [Nagios-users] what is the -t in the nagios cfg check_nt command ?

2006-09-06 Thread Andy Shellam
Hi Richard, Run "/usr/lib/nagios/plugins/check_nt --help" - that should give you a list of parameters and what they mean. I suspect, based on the rest of the Nagios official plugins, it's a timeout value of 50 seconds. Regards Andy richard martin wrote: > Hi.. I got the following check_nt com

Re: [Nagios-users] Printable Documentation

2007-03-04 Thread Andy Shellam
Personally I use the "official" PDF: http://nagios.sourceforge.net/download/contrib/documentation/english/Nagios_2_0_Docs.pdf Brandino Andreas wrote: > The link is broken > May you provide the doc again? > > Thanks > > > Wednesday, May 3, 2006, 10:25:24 PM, you wrote: > > >> Hello to all, >> I

Re: [Nagios-users] Problem with check_nis script

2007-03-06 Thread Andy Shellam
Kaplan, Andrew H. wrote: > > Hi there – > > I have installed the check_nis script on our Nagios 2.6 server, and > have been able to manually run it. My next step is getting it to run > within Nagios. > > The script has been copied to the libexec directory, and I have added > a command definition

Re: [Nagios-users] Nagios Plugin - compliation error

2007-03-10 Thread Andy Shellam
That looks like a lot of missing references to SSL functions. Check your OpenSSL installation. Andy. Nilesh Shastrakar wrote: > Dear All, > > I have Installed sucessfully Nagios 2.8 and now I am trying to install > Nagios-plugins-1.4.6 > but when I call MAKE command I get below error, > could

[Nagios-users] Nagios Looking Glass 1.0.3 released

2007-03-11 Thread Andy Shellam
any previous 1.0.* release to upgrade. For more information: www.nagioslookingglass.co.uk Download: www.nagioslookingglass.co.uk/download.phpx Regards Andy Shellam - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Tec

Re: [Nagios-users] Help with Nagios Looking Glass

2007-03-19 Thread Andy Shellam
Hi Mike, Sorry to hear you're having trouble! The error you're getting means that NLG cannot find (or read) all of the files it needs to determine that Nagios is running, and for it to read it's status information from. The files it looks for are: - comments.dat - downtime.dat (not currently u

Re: [Nagios-users] Help with Looking Glass PHP Parse Error

2007-03-19 Thread Andy Shellam
Hi Mike, It looks like you're using a version of PHP less than 5 (e.g. PHP 4.x). The instanceof operator was introduced in PHP 5. NLG's object-oriented programming model does not work with PHP 4. Providing no other applications on your box depend on PHP 4, I'd recommend upgrading to the latest

Re: [Nagios-users] Help with Looking Glass PHP Parse Error

2007-03-20 Thread Andy Shellam
Mike Davis wrote: > That was it, thanks! (I love the simple fixes ;) So do I! :) Andy. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opini

Re: [Nagios-users] Nagios Looking Glass problem

2007-03-21 Thread Andy Shellam
Hi Joe, Have you tried NLG 1.0.3? That is the latest version and includes, amongst others, the fix in the config file as you mentioned. These errors appear at first glance to be typically permissions, particularly with the client accessing s3_download.php. A typical test would be to enable deb

  1   2   3   4   >