Re: [Nagios-users] Running check_nagios by ssh

2006-10-30 Thread Andy Shellam (Mailing Lists)
As a quick thought, you could write a simple Bash/PHP/whatever script to grep the response for the ok flag (or warning flag) - or even a zero process count. I don't know how Nagios would take over, but if it was a simple case of the slave doesn't run Nagios until the primary goes down, then

Re: [Nagios-users] small alternative frontend

2006-11-01 Thread Andy Shellam (Mailing Lists)
Hi Dave, I have just (10 minutes ago!) released version 0.2.4 of my alternative front-end called Nagios/Network Looking Glass - it's aimed at businesses that want to publish their server status to 3rd parties without giving them access to the full Nagios CGIs. You can see it in action at

Re: [Nagios-users] small alternative frontend

2006-11-01 Thread Andy Shellam (Mailing Lists)
On 11/1/06, *Andy Shellam (Mailing Lists)* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Dave, I have just (10 minutes ago!) released version 0.2.4 of my alternative front-end called Nagios/Network Looking Glass - it's aimed at businesses that want to publish

Re: [Nagios-users] small alternative frontend

2006-11-01 Thread Andy Shellam (Mailing Lists)
devices? I have over 300. Colby On 11/1/06, *Andy Shellam (Mailing Lists)* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Dave, I have just (10 minutes ago!) released version 0.2.4 of my alternative front-end called Nagios/Network Looking Glass - it's aimed

Re: [Nagios-users] small alternative frontend

2006-11-02 Thread Andy Shellam (Mailing Lists)
Hi Hugo, Can you send me a screenshot? NLG was developed on Firefox 2.0, and I've tested on IE6, but obviously it's all Windows based. Could me something to do with the fonts maybe? Thanks Andy. Hugo van der Kooij wrote: On Wed, 1 Nov 2006, Andy Shellam (Mailing Lists) wrote: I have

Re: [Nagios-users] small alternative frontend

2006-11-02 Thread Andy Shellam (Mailing Lists)
Excellent :-) Thanks for the info, Thomas, much appreciated. Andy. Thomas Sluyter wrote: On 2 Nov, 2006, at 10:41, Andy Shellam (Mailing Lists) wrote: Can you send me a screenshot? NLG was developed on Firefox 2.0, and I've tested on IE6, but obviously it's all Windows based

Re: [Nagios-users] Nagios Looking Glass

2006-11-02 Thread Andy Shellam (Mailing Lists)
implementing this. Andy. Robin-David Hammond %KB3IEN wrote: makes sense, windows is always 2 px off in all font renders. On Thu, 2 Nov 2006, Andy Shellam (Mailing Lists) wrote: Date: Thu, 02 Nov 2006 14:36:24 + From: Andy Shellam (Mailing Lists) [EMAIL PROTECTED] To: Hugo van der Kooij

Re: [Nagios-users] Nagios Looking Glass

2006-11-02 Thread Andy Shellam (Mailing Lists)
suggestion would be to make the green bars much smaller. EXCELLENT work though, this is an awesome app! - Chris Andy Shellam (Mailing Lists) wrote: The Nagios Looking Glass has now been established on NagiosExchange (http://www.nagiosexchange.org/Frontends.37.0.html?tx_netnagext_pi1[p_view

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread Andy Shellam (Mailing Lists)
Hi Ton, How can we find out the coreutils version? Basically I'm using FreeBSD 6.1-RELEASE, and have experienced this issue with the plugins. My m4 version is 1.4.7. I don't know which version of coreutils 6.1 runs against though? As soon as FreeBSD 6.2 is released (couple weeks) I'll be

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread Andy Shellam (Mailing Lists)
Hello Ton, I'm hoping this news will be the better of 2 evils!! Coreutils 5.96 compiles, installs and uninstalls successfully on FreeBSD 6.1. (I did remember to remove my botched alloca.h file ;-) ) I've just tried the Nagios Plugins 1.4.5 and ===

Re: [Nagios-users] Problem after installation accesing nagios

2006-11-06 Thread Andy Shellam (Mailing Lists)
On Apache 2.2 you need to have an Authoritative authorisation handler. Lookup the AuthBasicAuthoritiative (I think) directive in the Apache documentation, and this needs to go in the .htaccess file (or httpd.conf file) where the htpasswd.users file is referenced. (eg. AuthUserFile

Re: [Nagios-users] Using Nagios to monitor service-less hosts

2006-11-07 Thread Andy Shellam (Mailing Lists)
Hi Fermin, Is that right? Why don't fully decouple host-monitoring from service monitoring? No. Nagios does use the check-host-alive command to determine if the host is up - and, yes, hosts and services are separate in that a host doesn't have to have any services, but a service must have

Re: [Nagios-users] Using Nagios to monitor service-less hosts

2006-11-07 Thread Andy Shellam (Mailing Lists)
Giles Coochey wrote: I thought host checks were only there to prevent you from receiving multiple service notifications when a host went down. Even if that's the way it was designed, you can still use it to determine if a host is up or down :) Also, if you HAD to have a service for each

Re: [Nagios-users] Using Nagios to monitor service-less hosts

2006-11-07 Thread Andy Shellam (Mailing Lists)
Hi, I cann't locate active or passive checks directives related with hosts in the documentation (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host). However, there is such directives related with services, in particular active_check_enabled and passive_check_enabled

Re: [Nagios-users] Using Nagios to monitor service-less hosts

2006-11-07 Thread Andy Shellam (Mailing Lists)
Thanks for that Robert, that could explain things, and this rings a very faint bell in my mind back when I originally set Nagios up. I set regular host checks up because there are currently 5 minutes between service checks, and if this is the only time that a host gets checked, then if a

Re: [Nagios-users] Using Nagios to monitor service-less hosts

2006-11-07 Thread Andy Shellam (Mailing Lists)
Fermín Galán Márquez wrote: Dear Aaron, all, Afser comparations between documentation http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host it seems that in 1.x it is not possible to have monitored service-less hosts

Re: [Nagios-users] Using Nagios to monitor service-less hosts

2006-11-08 Thread Andy Shellam (Mailing Lists)
Sloane, Robert Raymond wrote: Last Check Time: 08-11-2006 19:34:40 Next Scheduled Active Check: N/A Interesting. Nagios thinks the last check was run over a month ago. No, thankfully! That date is the 8th November (British format.) You wouldn't see anything about

Re: [Nagios-users] Using Nagios to monitor service-less hosts

2006-11-08 Thread Andy Shellam (Mailing Lists)
Nagios, clearing the status.sav and restarting Nagios. -Original Message- From: Andy Shellam (Mailing Lists) [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 12:58 PM To: Tedman Eng Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Using Nagios

Re: [Nagios-users] Using Nagios to monitor service-less hosts

2006-11-08 Thread Andy Shellam (Mailing Lists)
Are you sure you've haven't got check_interval configured in the host directive, or inherited from the template being applied? The active checks setting does something different. The check_interval parameter is set to 0 (zero) in the host template. It was originally set to 1.

[Nagios-users] File formats between 1.x and 2.x

2006-11-09 Thread Andy Shellam (Mailing Lists)
Hi, The following is a file-list taken from a Nagios installation's ./var directory - I believe it is Nagios 1.x - can someone clarify? drwxrwxr-x 2 nagios nagios 4096 Nov 9 00:00 archives -rwxrwxr-x 1 nagios nagios 238 Nov 3 17:56 comment.log -rwxrwxr-x 1 nagios nagios 239 Nov

Re: [Nagios-users] Looking-Glass Beta-testers: critical bug

2006-11-09 Thread Andy Shellam (Mailing Lists)
are specified, by definition only 127.0.0.1 is allowed to connect (as this will account for 'same-server' installs of NLG), and then add a $EnableIPcheck variable. Andreas Ericsson wrote: Andy Shellam (Mailing Lists) wrote: Hi, To anyone who's testing Nagios Looking Glass 0.2.41, there is a bug

Re: [Nagios-users] Problem with cfg_dir

2006-11-10 Thread Andy Shellam (Mailing Lists)
Hi Joerg, What is actually on that line 15? I understand it's happening on several config files, and is a correctly working installation, but if we can see the files we might be able to spot something out of place. Regards Andy. Joerg Hartmann wrote: Hello, i tried to change the location

Re: [Nagios-users] REPOST -- Nagios 2.x and NRPE 1.x

2006-11-10 Thread Andy Shellam (Mailing Lists)
Hi Andrew, I'm afraid I only started on Nagios 2.4 but I'm answering this to give you some food for thought until someone more knowledgeable finds the info out. The check_nrpe plugin is executed on the Nagios host, and is built from the NRPE source code. Therefore if you build NRPE 1.x,

Re: [Nagios-users] (Return code of 127 - Resolved) - NRPE timeout or config problem now

2006-11-23 Thread Andy Shellam (Mailing Lists)
The nrpe.cfg has some standard commands you can use, but are commented out - remove the # to use them. Here's an example of my check_load command (on an NRPE client server, testing the server load): command[check_load]=/usr/local/nagios/libexec/check_load -w 5,4,3 -c 10,8,6 Then on the Nagios

Re: [Nagios-users] Fwd: check_find_new_host plugin

2006-11-24 Thread Andy Shellam (Mailing Lists)
# ./check_find_new_hosts -v /usr/local/nagios/etc 192.168.1.1 http://192.168.1.1/ 24 admins Usage: Socket::inet_ntoa(ip_address_sv) at ./check_find_new_hosts line 301. Are you checking the 192.168.1.0/24 subnet for new hosts (i.e. 192.168.1.1 - 192.168.1.254)? What does

Re: [Nagios-users] Fwd: check_find_new_host plugin

2006-11-24 Thread Andy Shellam (Mailing Lists)
On 11/24/06, *Andy Shellam (Mailing Lists)* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: # ./check_find_new_hosts -v /usr/local/nagios/etc 192.168.1.1 http://192.168.1.1/ http://192.168.1.1/ 24 admins Usage: Socket::inet_ntoa(ip_address_sv

Re: [Nagios-users] Can only monitor localhost

2006-11-27 Thread Andy Shellam (Mailing Lists)
You need to use check_nrpe (download NRPE 2.5.2. from the Nagios website) in conjunction with the Nagios standard plugins on each remote host you want to monitor. Nagios sends the command to execute the plugin to NRPE running on the remote host, NRPE runs it and sends the output back to

Re: [Nagios-users] Check process

2006-11-28 Thread Andy Shellam (Mailing Lists)
Hi John, Yep, you can run checks on another machine using the Nagios NRPE agent in conjunction with the Nagios plugins. Compile NRPE on both machines (master and slave) - then use the check_nrpe compiled on the master as the check_command parameter in the Nagios server, and tell it which

Re: [Nagios-users] regarding nagios plugin 1.4.5

2006-12-05 Thread Andy Shellam (Mailing Lists)
Have you tried adding --with-mysql=/usr/local/mysql (or wherever your MySQL files sit) to the configure line? [EMAIL PROTECTED] wrote: hi, i am tryin to install nagios plugin version 1.4.5 , but there is an error message of not being able to find mysql.h header in one of the files during

Re: [Nagios-users] Problem Starting Nagios 2.5

2006-12-07 Thread Andy Shellam (Mailing Lists)
The entire nagios/var directory needs to be writeable by the user and group 'nagios' I believe. eg. chown -R nagios:nagios /usr/local/nagios/var Kaplan, Andrew H. wrote: Hi there – I just completed installing Nagios 2.5 and I am having problems starting the application as either nagios or

Re: [Nagios-users] looking for a nagios add-on (if exists)

2006-12-11 Thread Andy Shellam (Mailing Lists)
Nagios Looking Glass will have this functionality - check out http://looking-glass.andyshellam.eu - that (currently) has a host comment added in Nagios that shows as a message box, but only if you append #NLG: to the comment in Nagios, so you can still retain private/internal comments. Andy.

Re: [Nagios-users] Changing output of bind

2006-12-11 Thread Andy Shellam (Mailing Lists)
From my experience as a programmer, if you don't know why you're doing something, it's impossible to do it correctly. The example you've shown us is a zone file. It only returns the relevant part of the zone in answer to a query - so if a user requests, .the_domain they will get IN A

Re: [Nagios-users] looking for a nagios add-on (if exists)

2006-12-11 Thread Andy Shellam (Mailing Lists)
January. Andy. Brian Loe wrote: On 12/11/06, Andy Shellam (Mailing Lists) [EMAIL PROTECTED] wrote: Nagios Looking Glass will have this functionality - check out http://looking-glass.andyshellam.eu - that (currently) has a host comment added in Nagios that shows as a message box, but only if you

Re: [Nagios-users] Changing output of bind

2006-12-11 Thread Andy Shellam (Mailing Lists)
Marc Powell wrote: I'm not sure how this ended up on nagios-users :$ Oops my bad, I've been flitting between posting on nagios-users and bind-users all day - sorry! More coffee is required methinks. Andy. - Take

Re: [Nagios-users] problem installing nagios 2.6

2006-12-11 Thread Andy Shellam (Mailing Lists)
Not at all, that's what the list's here for :) javier rojas wrote: sorry to all...and thank you it's really embarrasing to post a stu.. question... -- Andy Shellam NetServe Support Team the Mail Network an alternative in a standardised world p: +44 (0) 121 288 0832/0839 m: +44 (0)

Re: [Nagios-users] Forbidden access to server

2006-12-12 Thread Andy Shellam (Mailing Lists)
Can you post the relevant section of your Apache configuration file? What might help (which has caught me out a number of times before) is if you've got the default Apache config, there's a directive of: Directory / order deny,allow deny from all /Directory This denies Apache access to

Re: [Nagios-users] Packet loss reported by check_ping?

2006-12-13 Thread Andy Shellam (Mailing Lists)
Jason Byrns wrote: Also, along those lines... I recently moved from the 1.2 Nagios to the more recent 2.4-2.5 Nagios. Nagios 1.X seemed to only trigger a host check if a service check failed. Nagios 2.X seems to ALWAYS run host checks in addition to service checks. The fact that host

Re: [Nagios-users] Packet loss reported by check_ping?

2006-12-13 Thread Andy Shellam (Mailing Lists)
Andreas Ericsson wrote: I would appreciate if you didn't bring mail discussions off-list. It prevents others who might have the same problem from benefiting from the suggestions, and makes it impossible for archivers to pick up the entire discussion which in turn makes it impossible for

Re: [Nagios-users] Packet loss reported by check_ping?

2006-12-13 Thread Andy Shellam (Mailing Lists)
Andreas Ericsson wrote: My apologies. I'm getting bitten by the sourceforge roundtrip latency :( Haha me too by the looks of it!! Anyway, removing the check_freshness parameter seemed to have solved it - last check was at 15:58 (when I re-started Nagios) and it's now 4:11 without another

Re: [Nagios-users] Newbie: I can't register hosts?

2006-12-14 Thread Andy Shellam (Mailing Lists)
The hostname is host_name, not name Andy. nic gna wrote: This is my host.cfg and I can't register the hosts. I get this error: Error: Host name, alias, or address is NULL Error: Could not register host (config file '/etc/nagios/hosts.cfg', starting on line 1) define host{

Re: [Nagios-users] start Nagios

2006-12-20 Thread Andy Shellam (Mailing Lists)
What are the permissions on /etc/rc.d/init.d/nagios? You may need to set the execute bit (chmod u+x /etc/rc.d/init.d/nagios) Alicia Calvo wrote: Hello, I have a problen with started Nagios. When I start at /etc/rc..d/init.d/nagios start, it display this msgs 'Permiso denegado' . (I'm

[Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2006-12-27 Thread Andy Shellam (Mailing Lists)
It's been a long road the last couple of weeks, but Nagios Looking Glass 1.0.0#PRE is *now out* for public beta-testing. The Important Bits === = The official project site is: http://software.andyshellam.eu/looking-glass.phpx Get the latest release at:

Re: [Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2006-12-27 Thread Andy Shellam (Mailing Lists)
Hi Hans, Doesn't sound rude at all, after all this is why it's a beta. The only test that I think needs to be done is to check if $_GET['fid'] is a number. If it was to a database I'd definitely make it more secure, but there is no way you can forcibly pass a parameter to NLG. Because the

Re: [Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2006-12-27 Thread Andy Shellam (Mailing Lists)
John P. Rouillard wrote: In message [EMAIL PROTECTED], Andy Shellam (Mailing Lists) writes: Doesn't sound rude at all, after all this is why it's a beta. The only test that I think needs to be done is to check if $_GET['fid'] is a number. If it was to a database I'd definitely make

Re: [Nagios-users] error installing nagios-plugins-1.4.5

2006-12-28 Thread Andy Shellam (Mailing Lists)
When you ./configure you need to add --with-mysql=/path/to/mysql into the ./configure options. Andy. Carlos Sánchez wrote: Hello when i execute make i have an error: check_mysql.c:165: error: ‘MYSQL_FIELD’ undeclared (first use in this function) check_mysql.c:165: error:

Re: [Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2006-12-28 Thread Andy Shellam (Mailing Lists)
is non-integer, it will be forced to 0. The only one thing to do is check that the filter/group exists, and perform the same check on the client-side. Thanks, Andy. Robert Hajime Lanning wrote: quote who=Andy Shellam (Mailing Lists) From the client-side, the URL that's built

Re: [Nagios-users] error installing nagios-plugins-1.4.5

2006-12-28 Thread Andy Shellam (Mailing Lists)
--with-cgiurl=/nagios/cgi-bin From: Andy Shellam (Mailing Lists) [EMAIL PROTECTED] To: Carlos Sánchez [EMAIL PROTECTED], Nagios Users mailinglist nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] error installing nagios-plugins-1.4.5 Date: Thu, 28 Dec 2006 18:46:24 + When

Re: [Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2006-12-28 Thread Andy Shellam (Mailing Lists)
, I'll do everything in my power to fix it, but with the addition of the client-side checking of the variables before passing them off to the poller, I'll maintain it's not at risk. Thanks, Andy. Robert Hajime Lanning wrote: quote who=Andy Shellam (Mailing Lists) From the client-side

Re: [Nagios-users] Service Check Timed Out Error

2006-12-28 Thread Andy Shellam (Mailing Lists)
It seems something is stopping your NRPE client from answering to the server. Try telnet nrpe_client_server 5666 and see if it connects or times out. If it times out, check firewalls/SELinux etc. Andy. Kaplan, Andrew H. wrote: I am running Nagios 2.6 on a Fedora Core 5 system, and am trying

Re: [Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2006-12-28 Thread Andy Shellam (Mailing Lists)
Thanks Hugo, I'm just about getting to grips with XSS attacks, and I'm pretty certain NLG is not vulnerable. Andy. Hugo van der Kooij wrote: On Thu, 28 Dec 2006, Andy Shellam (Mailing Lists) wrote: Thanks for your description below but I'm still struggling to come to terms with how NLG

Re: [Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2006-12-28 Thread Andy Shellam (Mailing Lists)
Hi Hans, I'll admit first-off I'm reading this e-mail at almost 1am here in the UK and after about ooh 6 glasses of wine, so I may get a different view in the morning, but I'm getting the feeling I'm already thinking along the same path as yourself, maybe I haven't made that clear? Thanks for

Re: [Nagios-users] Service Check Timed Out Error

2006-12-29 Thread Andy Shellam (Mailing Lists)
- From: Andy Shellam (Mailing Lists) [mailto:[EMAIL PROTECTED] Sent: Thu 12/28/2006 5:25 PM To: Kaplan, Andrew H.; Nagios Users mailinglist Subject: Re: [Nagios-users] Service Check Timed Out Error It seems something is stopping your NRPE client from answering to the server. Try telnet

Re: [Nagios-users] Service Check Timed Out Error

2006-12-29 Thread Andy Shellam (Mailing Lists)
Kaplan, Andrew H. wrote: I configured the ip tables on both the nagios server and the nrpe client to allow all inbound and outbound traffic. Additionally, I made sure the /etc/services file on both systems had port 5666 open to tcp and udp traffic. I was able to telnet to port 5666 on the

Re: [Nagios-users] Service Check Timed Out Error

2006-12-29 Thread Andy Shellam (Mailing Lists)
the check_nrpe service on the relevant host: command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /cosmos2/database -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Shellam (Mailing Lists) Sent: Friday, December 29, 2006 8

Re: [Nagios-users] FW: Service Check Timed Out Error

2006-12-29 Thread Andy Shellam (Mailing Lists)
My apologies, I'm suffering from a 60-minute lag on SourceForge's mailing list for some reason - I'd got 2 replies from David before this so it looked like you hadn't copied the list in. Sorry! Now onto this e-mail... As far as the client is concerned, nrpe is not being run via xinetd, it is

Re: [Nagios-users] Problem Compiling NRPE 2.6 on Fedora Core 5

2006-12-29 Thread Andy Shellam (Mailing Lists)
This seems as if it could be an error in the makefile, a missing library on your system, or an incorrect path in your /etc/ld.so.conf file. Try passing LDFLAGS=-ldl to the configure script - eg. LDFLAGS=-ldl ./configure --prefix=/usr/local/nagios Or, find the dl library (find / -name libdl*)

Re: [Nagios-users] 0 bytes pin using check_ping

2007-01-02 Thread Andy Shellam (Mailing Lists)
Why do you need to make a 0 byte ping? (I'm not particularly up on networking, but a 0 byte ping would in theory send nothing, right?) Tried doing this on my Fedora system, and you still get a minimum of 8 bytes back: /bin/ping -s 0 www.google.com PING www.l.google.com (216.239.59.99) 0(28)

Re: [Nagios-users] 0 bytes pin using check_ping

2007-01-02 Thread Andy Shellam (Mailing Lists)
, but the results in check_icmp: Failed to obtain ICMP socket: Operation not permitted. i used chmod 777 check_icmp but didn't worked out. Kindly help me if there any way to drop down ping bytes. From: Andy Shellam (Mailing Lists) [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net

Re: [Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0#PRE is here!

2007-01-03 Thread Andy Shellam (Mailing Lists)
Andreas Ericsson wrote: Andy Shellam (Mailing Lists) wrote: If you requested the full URL that's passed to the poller back-end, you'd find it extremely difficult to decipher it without the s3_class.inc.php file (as this is what the client front-end does) and to the average Joe it'd

Re: [Nagios-users] Problem with check_pgsql

2007-01-04 Thread Andy Shellam (Mailing Lists)
I think on Fedora you can edit /etc/ld.so.conf, then run ldconfig. Or make sure there is a symlink to the libpq.so.5 in /lib, /usr/lib and /usr/local/lib (just to cover all bases!) I had a similar problem on FreeBSD, and linking libpq.so.5 in /lib was the trick. Andy. Patrick Morris wrote:

Re: [Nagios-users] System appears as down, but services are being monitored

2007-01-05 Thread Andy Shellam (Mailing Lists)
Andy Shellam (Mailing Lists) wrote: Perhaps the definition for the check_host command for your host is wrong or not succeeding, but your service commands are? Sorry, that should be check_command for your host. - Take

Re: [Nagios-users] System appears as down, but services are being monitored

2007-01-05 Thread Andy Shellam (Mailing Lists)
Perhaps the definition for the check_host command for your host is wrong or not succeeding, but your service commands are? Kaplan, Andrew H. wrote: Hi there – I am monitoring a Windows XP system that has the NSClient version 1.06 software on it. The Nagios server is running version 2.6

Re: [Nagios-users] parent/child setup not working

2007-01-05 Thread Andy Shellam (Mailing Lists)
Shellam (Mailing Lists) wrote: Arghh! Sorry for the previous, content free reply. The service entry is; define service{ use generic-service ; Name of service template to use hostgroup_name webservers

Re: [Nagios-users] Service Alerts and Notifications

2007-01-05 Thread Andy Shellam (Mailing Lists)
Don't know if it helps, but on my services, I check services every 5 minutes. If it fails, it retries 3 times every 30 seconds (so a max. of 1.5 minutes) then it sends me an e-mail/SMS (because it switches to HARD state.) What this will do... max_check_attempts 3 retry_check_interval 5

Re: [Nagios-users] Service Alerts and Notifications

2007-01-06 Thread Andy Shellam (Mailing Lists)
Hmm, that's bad news. In other time settings within in the config you can set seconds. I only did this in my new Nagios server build which I haven't gone live with yet - the config checker doesn't throw an error so I'd assumed it was valid. Anyone else know this - In my case what I'd like to

Re: [Nagios-users] Service Alerts and Notifications

2007-01-06 Thread Andy Shellam (Mailing Lists)
] On Behalf Of Morris, Patrick Sent: Saturday, January 06, 2007 10:26 AM To: Andy Shellam (Mailing Lists) Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Service Alerts and Notifications I tried setting the retry value to 30s, and it interpreted it as 30 minutes

Re: [Nagios-users] Parents on ubuntu

2007-01-09 Thread Andy Shellam (Mailing Lists)
There is a much newer version of Nagios available, plus the version you've reported appears to a CVS export, not a stable release. Try downloading and compiling 2.6 from www.nagios.org and try again - note you will possibly need to adjust your configs to suit Nagios 2.x, but not by much. Note

Re: [Nagios-users] Fw: nagios alerts to pc

2007-01-09 Thread Andy Shellam (Mailing Lists)
Why are you re-directing to a log file? What does the output of smbclient -M adminmachine -I adminip give you? Does the nagios user have write permissions on /tmp and tmp/smbclient.log (e.g. if smbclient.log was created by root, Nagios won't have write access to append to it.) Andy.

Re: [Nagios-users] Fw: nagios alerts to pc

2007-01-09 Thread Andy Shellam (Mailing Lists)
Dhaval Thakar wrote: the reason to redirect to logs was to ensure execution of the command, but log is not created. i tried with mentioned command from shell using root. it is working hence communication to windows machine is ok. There could be your problem - test the plugin running as the

Re: [Nagios-users] Fw: Fw: nagios alerts to pc

2007-01-09 Thread Andy Shellam (Mailing Lists)
with nagios user, but still there is no input in the file - Original Message - From: Andy Shellam (Mailing Lists) [EMAIL PROTECTED] To: Dhaval Thakar [EMAIL PROTECTED]; Nagios Users mailinglist nagios-users@lists.sourceforge.net Sent: Tuesday, January 09, 2007 7:04 PM Subject: Re

Re: [Nagios-users] NAGIOS - check_by_ssh failed

2007-01-09 Thread Andy Shellam (Mailing Lists)
Hi Neal, Have you tried running your command as the Nagios user? Also does /usr/bin/ssh exist on your Nagios machine? Just a couple of ideas. Regards, Andy. [EMAIL PROTECTED] wrote: Hey Guys, I am having an issue with the check_by_ssh plugin and was wondering if someone could lend a

Re: [Nagios-users] NAGIOS - check_by_ssh failed

2007-01-09 Thread Andy Shellam (Mailing Lists)
480.782.2606 *Andy Shellam (Mailing Lists) [EMAIL PROTECTED]* Sent by: [EMAIL PROTECTED] 01/09/2007 01:01 PM To [EMAIL PROTECTED] cc nagios-users@lists.sourceforge.net Subject Re: [Nagios-users] NAGIOS - check_by_ssh failed Hi Neal, Have you tried

[Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Andy Shellam (Mailing Lists)
I'm testing Nagios out on a FreeBSD 6.1 system, and am getting a warning about Nagios' group entry when I run a config file check - will this cause any problems? --- Nagios 2.6 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 11-27-2006 License: GPL Reading

Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Andy Shellam (Mailing Lists)
Hi Dan, Thanks for the reply (answers inline below) Dan Langille wrote: Did you install via ports? No - downloaded 2.6 and compiled from source. Are you missing this? $ grep nagios /etc/group nagios:*:1005: I don't think so - I configured Nagios with: ./configure

Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Andy Shellam (Mailing Lists)
? ;) Andy. Andy Shellam (Mailing Lists) wrote: Hi Dan, Thanks for the reply (answers inline below) Dan Langille wrote: Did you install via ports? No - downloaded 2.6 and compiled from source. Are you missing this? $ grep nagios /etc/group nagios:*:1005: I don't think so - I

Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Andy Shellam (Mailing Lists)
Robert Hajime Lanning wrote: quote who=Andy Shellam (Mailing Lists) For info - this warning does not prevent Nagios from starting up - however if you add a group called nagios it goes away. Perhaps there's a bug in this/other versions where it checks for the specific group called nagios

[Nagios-users] Plugin error text confusion

2007-01-09 Thread Andy Shellam (Mailing Lists)
After playing around with Nagios 2.6 and the latest plugins (1.4.5) I found a little inaccuracy in the text displayed in the check_ping plugin. For the plugin, consider the command: /usr/local/nagios/libexec/check_ping -p 3 -t 10 -4 -H 10.100.9.201 -w 1000,20% -c 2000,50% This works. Take

Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-10 Thread Andy Shellam (Mailing Lists)
: On 9 Jan 2007 at 22:36, Andy Shellam (Mailing Lists) wrote: Hi Dan, Thanks for the reply (answers inline below) Dan Langille wrote: Did you install via ports? No - downloaded 2.6 and compiled from source. Are you missing this? $ grep nagios /etc/group nagios

Re: [Nagios-users] email help

2007-01-10 Thread Andy Shellam (Mailing Lists)
Jim Perrin wrote: On 1/10/07, Nedim Bicic [EMAIL PROTECTED] wrote: Hey how do you get the notifications to work and send emails it doesnt work i put in my email address in the conacts.cfg file i restart the server where nagios is installed but i dont get any emails Read The Fine

Re: [Nagios-users] no libexec after intalling plugins!

2007-01-10 Thread Andy Shellam (Mailing Lists)
Sam Fraser wrote: Hello All, could someone please advise me where I've gone wrong installing my plugins? The problem is with this installation step Install the compiled plugins and plugin scripts with the following command: make install The installation procedure will attempt to place

Re: [Nagios-users] Plugin issue

2007-01-13 Thread Andy Shellam (Mailing Lists)
What's the command line of your check_ping command (as defined in Nagios?) The correct syntax is: /path/to/nagios/plugins/check_ping -H ip address -w 2000,25% -c 4000,50% whereby ip address is the IP of the machine to ping, 2000 is the round-trip time (in ms) to generate a warning, 25% is the

Re: [Nagios-users] Interval setup

2007-01-13 Thread Andy Shellam (Mailing Lists)
Along with the usual read the manual comment ;) ... - Timing Interval Length This is the number of seconds per unit interval used for timing in the scheduling queue, re-notifications, etc. Units intervals are used in the object configuration file to determine how often to run a service

Re: [Nagios-users] Plugin issue

2007-01-15 Thread Andy Shellam (Mailing Lists)
[EMAIL PROTECTED] wrote: Don't forget to copy the mailing list in so others can chip in and help. Read the above line again!! HI Andy am kinda confused here: when you say i insert the values 2000,25% to the $ARG1$ and $ARG2$ respectively do you mean that i should insert them in the

Re: [Nagios-users] Nagios-users Digest, Vol 8, Issue 23

2007-01-16 Thread Andy Shellam (Mailing Lists)
Thanks alot andy and everyone else who chipped in.Now how do i enable it so that i can receive sms notifications? http://nagios.sourceforge.net/docs/2_0/notifications.html http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host

Re: [Nagios-users] check_disk_smb

2007-01-16 Thread Andy Shellam (Mailing Lists)
Create one service definition per share. You could do, for each extra share: define service { use SMB service_description SMB2 check_command check_disk_smb!backups!guest } You could then set up a dependency of the extra shares on the main share so if the SMB service fails you won't get a

Re: [Nagios-users] Sending Notifications on Soft (from Passive Checks)

2007-01-16 Thread Andy Shellam (Mailing Lists)
Set a maximum attempts to 1 in your service definitions, then any change in state results in a HARD state. Brian A. Seklecki wrote: Whenver the CGI submits passive check results; the state transition is always SOFT. If you submit a Critical down passive result, you then get SERVICE

Re: [Nagios-users] Sending Notifications on Soft (from Passive Checks)

2007-01-16 Thread Andy Shellam (Mailing Lists)
Hugo van der Kooij wrote: On Tue, 16 Jan 2007, Brian A. Seklecki wrote: Nevermind -- just Submit 3 passive service checks and the state transitions from Soft - Hard; What a PITA from the web interface. A macro would be great; a checkbox. Wouldn't this be related to the default

Re: [Nagios-users] Monitoring question

2007-01-16 Thread Andy Shellam (Mailing Lists)
Formoso, Travis wrote: Hi guys, When monitoring services - I wanted to know if and when a service goes down - is their a script to run that would try to bring the service back up automatically? I wanted to know if nagios went this far. Thanks a lot. There are event handlers which,

Re: [Nagios-users] Defining different notification behavior for the same service on different hosts

2007-01-17 Thread Andy Shellam (Mailing Lists)
As part of the hackery I would have the first (live) service have all options set, and the second (test-bed) service simply use the first service as a template, and override the notifications_enabled setting (and obviously the host too.) That way you really only have one service to change

Re: [Nagios-users] Monitoring question

2007-01-17 Thread Andy Shellam (Mailing Lists)
Formoso, Travis wrote: OK I will try to give it the check_http check and see if it works when I bring down the httpd. Here is what I have now: (I added the event handler to http) # http define service{ usegeneric-service host_name

Re: [Nagios-users] Monitoring question

2007-01-17 Thread Andy Shellam (Mailing Lists)
Marc Powell wrote: the handler is not working. Any thing I can try or did wrong? Have you tried running the restart-httpd command as the Nagios user from the console? Always a good suggestion. Also, on my server Apache (2.2) takes roughly 3-4 seconds to start up, and it

Re: [Nagios-users] Monitoring question

2007-01-17 Thread Andy Shellam (Mailing Lists)
Formoso, Travis wrote: I shut down the httpd - however the service did not restart auto - so the handler is not working. Any thing I can try or did wrong? Have you tried running the restart-httpd command as the Nagios user from the console? Always a good suggestion.

Re: [Nagios-users] Event Handlers

2007-01-19 Thread Andy Shellam (Mailing Lists)
nagios: SERVICE ALERT: imap-1.rba.ispafrica.net;HTTP;CRITICAL;SOFT;1;Connection refused Jan 19 15:21:18 nagios-0 nagios: SERVICE EVENT HANDLER: imap-1.rba.ispafrica.net;HTTP;CRITICAL;SOFT;1;restart-httpd And I do have it enabled in my nagios.cfg config file Regards On 1/19/07, Andy Shellam

Re: [Nagios-users] check host alive

2007-01-19 Thread Andy Shellam (Mailing Lists)
Most systems have 64 as default TTL, otherwise you're right. There are two variants of Time to live exceeded. One is where the there are more hops to the target than the TTL set in the packet. This is known as Time to live exceeded in transit. Hmmm something rang a bell when you've said

Re: [Nagios-users] check host alive

2007-01-19 Thread Andy Shellam (Mailing Lists)
Andreas Ericsson wrote: No, that's the TTL in the response packet, which will be defult TTL of host sending ICMP_ECHOREPLY minus hops between pinged host and self. The TTL on the outgoing packets are, by default, 64 on *BSD and Linux, 128 on Windows and HP switches/routers, 255 on Cisco and

Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Andy Shellam (Mailing Lists)
Nedim Bicic wrote: Hi all, i have nagios 2.4 I need want to change and input settings via the web interface like scheduale downtime etc, which i read that the external command does this i enabled it in nagiod.cfg =1 but i aslo found out that you need to create a nagios.cmd file and

Re: [Nagios-users] Accessing /dev/ttyUSB0 to send SMS

2007-01-22 Thread Andy Shellam (Mailing Lists)
Herman (ISTD) wrote: Dear all, I use gnokii to send Nagios notification. Gnokii need to access /dev/ttyUSB0 in order to deliver message to Handphone. At present, I need to set nagios user to root group in order to accomplish this task. If the nagios user is not in root group, it could not

[Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.0 released!

2007-01-22 Thread Andy Shellam (Mailing Lists)
With immediate effect, Nagios Looking Glass v1.0.0 is available for download! The Important Bits === = The official project site is: http://www.nagioslookingglass.co.uk Get the latest release at: http://www.nagioslookingglass.co.uk/download.phpx Available in Windows Zip, and Unix

Re: [Nagios-users] nagios.cmd external

2007-01-22 Thread Andy Shellam (Mailing Lists)
You may be connecting to Nagios using nagiosadmin, but that is a user under your webserver, not an OS user. If your Apache runs under the user nobody, that is the user you need to add to the nagioscmd group. Nedim Bicic wrote: yeah i think thats the problem i am loging in as nagiosadmin but

[Nagios-users] ANNOUNCE: Nagios Looking Glass 1.0.1 released!

2007-01-23 Thread Andy Shellam (Mailing Lists)
Nagios Looking Glass v1.0.1 is available for download! *** Please upgrade from 1.0.0#PRE and 1.0.0 as soon as possible as a possible vulnerability has been patched *** The Important Bits === = The official project site is: http://www.nagioslookingglass.co.uk Get the latest release

  1   2   >