[Nagios-users] Nagios.log not updating

2011-09-09 Thread Mailing Lists
I currently have a centreon / nagios setup with one central centreon box with three pollers. The newest poller is working fine with in terms of updating the central centreon system. However, the one issue I am running into and haven't been able to find an answer to is that the newest poller isn't

Re: [Nagios-users] Nagios.log not updating

2011-09-09 Thread Mailing Lists
/var/archives/ use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 On Fri, Sep 9, 2011 at 12:35 PM, Jim Avery j...@jimavery.me.uk wrote: On 9 September 2011 16:01, Mailing Lists mailing.lists.a...@gmail.com

Re: [Nagios-users] Nagios.log not updating

2011-09-09 Thread Mailing Lists
| +---+-+--+++---++ On Fri, Sep 9, 2011 at 1:07 PM, Mailing Lists mailing.lists.a...@gmail.comwrote: Yeah, this is setup exactly like the other

Re: [Nagios-users] Comments between versions 2 and 3 of Nagios

2007-10-09 Thread Andy Shellam (Mailing Lists)
Hi Martine, This is a known issue between Nagios 2 and 3 - it's also the case for downtime. See the following package for how-to migrate the comments from one system to another: http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios2x I don't know if anyone's written a script for it,

[Nagios-users] [Fwd: Re: Nagios 3.0b4 crashing]

2007-10-08 Thread Andy Shellam (Mailing Lists)
Sorry, due to an error on my mail server, this didn't get through first time round. Hi, Found the cause of this: the pre-flight check isn't working correctly (see output below) which caused the confusion (the errors were off-screen in my terminal window, and I mistakenly trusted the Total

Re: [Nagios-users] check_telnet?

2007-09-18 Thread Andy Shellam (Mailing Lists)
Use check_tcp to connect to port 23 (if it's a Telnet host in the strictest sense of the word) or check_ssh if it's an SSH host. Andy Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Melanie Pfefer Sent: Tuesday,

Re: [Nagios-users] Fwd: Problem with availability report

2007-09-03 Thread Andy Shellam (Mailing Lists)
Hi Pablo, What does the report class the Indeterminate data as? (Insufficient data or Nagios not running?) If it says Insufficient data, I'd hazard a guess that your last month's log files aren't where Nagios expects them to be, perhaps they've been archived or zipped by a log rotation

Re: [Nagios-users] Fwd: Problem with availability report

2007-09-03 Thread Andy Shellam (Mailing Lists)
(Mailing Lists) mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]: Hi Pablo, What does the report class the Indeterminate data as? (Insufficient data or Nagios not running?) If it says Insufficient data, I'd hazard a guess that your last month's log files aren't where Nagios expects them

Re: [Nagios-users] Can Nagios keep the data returned from the services?

2007-08-30 Thread Andy Shellam (Mailing Lists)
Hi Chris, I'm looking at the possibility of doing this myself over the coming months. Unfortunately, I can only give you a pointer. I believe what you're looking for is performance data - that is, when a plugin returns it's output, a specially crafted string at the end of the output (containing

Re: [Nagios-users] NDOUtils 1.4b4 OpenBSD build issue

2007-08-29 Thread Andy Shellam (Mailing Lists)
Hi Israel, The ceil function is part of a standard math library, a quick Google search for undefined reference to `ceil' (http://www.google.co.uk/search?q=undefined+reference+to+%60ceil'ie=utf-8o e=utf-8aq=trls=org.mozilla:en-GB:officialclient=firefox-a) reveals that you need to add the flag -lm

Re: [Nagios-users] Opinion Sought... Essential Nagios 3rd Party Apps.

2007-08-16 Thread Andy Shellam (Mailing Lists)
Hi Chris, I'm playing my own trumpet a bit here, but I started a project called Nagios Looking Glass - it's aim is to provide a prettier, read-only interface to users with the essentials at-a-glance without the complexity of the Nagios GUI. The view-switching between servers, services and

Re: [Nagios-users] Opinion Sought... Essential Nagios 3rd PartyApps.

2007-08-16 Thread Andy Shellam (Mailing Lists)
Of Andy Shellam (Mailing Lists) Sent: Thursday, August 16, 2007 1:40 PM To: Chris Stankaitis Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Opinion Sought... Essential Nagios 3rd PartyApps. Hi Chris, I'm playing my own trumpet a bit here, but I started a project called

Re: [Nagios-users] How do I check the services on remote machines

2007-08-16 Thread Andy Shellam (Mailing Lists)
Hi Lingyun, Have a look at NRPE. Basically you run an NRPE daemon on the remote machines (which is configured with the commands to use.) You set up a service in Nagios to use check_nrpe to query the remote NRPE daemon. The NRPE daemon takes the command name to use, runs the command

Re: [Nagios-users] guest access

2007-07-29 Thread Andy Shellam (Mailing Lists)
Hi Paul, Are you looking for your read-only users simply to see your host/service statuses without being able to do anything else? If so, this is what Nagios Looking Glass was designed for, and as Nagios moves into v3.0, there are plans to possibly extend this functionality to do other stuff

Re: [Nagios-users] Problem with statusmap

2007-03-02 Thread Andy Shellam (Mailing Lists)
What's your ./configure line? Mark Thompson wrote: Opensuse 10.2 Nagios 2.7 all libs installed. make all returns this error: gcc -g -O2 -I/usr/local/include/ -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib/ -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o objects-cgi.o

Re: [Nagios-users] Problem with statusmap

2007-03-02 Thread Andy Shellam (Mailing Lists)
with yast. thanks Andy Shellam (Mailing Lists) [EMAIL PROTECTED] 3/2/2007 11:28 AM What's your ./configure line? Mark Thompson wrote: Opensuse 10.2 Nagios 2.7 all libs installed. make all returns this error: gcc -g -O2 -I/usr/local/include/ -DHAVE_CONFIG_H -DNSCGI -L/usr/local

Re: [Nagios-users] Uptime error

2007-02-28 Thread Andy Shellam (Mailing Lists)
As Patrick said, this plugin (as a host check) will only get run if a service goes into a non-OK state, therefore showing old information until it a service fails. I have exactly the same plugin (written myself with a couple of differences to yours) which runs as a service called Uptime on

Re: [Nagios-users] Uptime error

2007-02-28 Thread Andy Shellam (Mailing Lists)
is that it works for some 1 day or more. But after that I get these sort of results. So thats what makes me worry... Sujith Bangalore On 2/28/07, *Andy Shellam (Mailing Lists)* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: As Patrick said, this plugin (as a host check) will only get run

Re: [Nagios-users] Uptime error

2007-02-28 Thread Andy Shellam (Mailing Lists)
On 2/28/07, *Andy Shellam (Mailing Lists)* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: As Patrick said, this plugin (as a host check) will only get run if a service goes into a non-OK state, therefore showing old information until it a service fails

Re: [Nagios-users] Uptime error

2007-02-28 Thread Andy Shellam (Mailing Lists)
that when I do /usr/local/nagios/bin/nagios -v /etc/nagios/etc/nagios.cfg It doesn't give me any error. But this misbehaviour is worrying me Sujith Bangalore On 2/28/07, *Andy Shellam (Mailing Lists)* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think you need to explain what

Re: [Nagios-users] Uptime error

2007-02-28 Thread Andy Shellam (Mailing Lists)
, or a network blockage is detected. check_ping to 127.0.0.1 on this check would work fine in your case. Andy. Sujith Bangalore. On 2/28/07, *Andy Shellam (Mailing Lists) * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Again, as I and Patrick have said, your host's check_command

Re: [Nagios-users] Uptime error

2007-02-28 Thread Andy Shellam (Mailing Lists)
command and Uptime as a service? Andy. sujith h wrote: The use of option : use_aggressive_host_checking=1 in the nagios.cfg file will make any difference??? Sujith Bangalore On 2/28/07, *Andy Shellam (Mailing Lists) * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: sujith h wrote

[Nagios-users] [Fwd: Re: Uptime error]

2007-02-28 Thread Andy Shellam (Mailing Lists)
. Original Message Subject:Re: [Nagios-users] Uptime error Date: Wed, 28 Feb 2007 19:12:50 +0530 From: sujith h [EMAIL PROTECTED] To: Andy Shellam (Mailing Lists) [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED

Re: [Nagios-users] cgi.cfg

2007-02-26 Thread Andy Shellam (Mailing Lists)
My guess is Nagios is trying to parse cgi.cfg as an object configuration file. IIRC, cgi.cfg should be in the same place as nagios.cfg, and NOT entered into the nagios.cfg as part of either a cfg_file or cfg_dir directive. As Jim said, it would help if you post the relevant portions of your

Re: [Nagios-users] PHP parse error in NLG

2007-02-25 Thread Andy Shellam (Mailing Lists)
Hi Carlo, What version of PHP are you running? Line 327 in the code is a comparison of two classes, using the instanceof operator, which was introduced in PHP 5 (http://uk2.php.net/manual/en/language.operators.type.php). It sounds like you have PHP 4, which is not supported by NLG. Andy.

Re: [Nagios-users] Notifications by SMS

2007-02-23 Thread Andy Shellam (Mailing Lists)
I think this could spark an interesting discussion! Both AQL and Text Anywhere (providers I've used in the past) take only the subject and the body (up to the 160-character limit) as the text message body. Taking the entire e-mail including headers seems bad practice for the obvious reasons of

Re: [Nagios-users] Notifications by SMS

2007-02-22 Thread Andy Shellam (Mailing Lists)
There are plenty of email-to-SMS providers out there. www.textanywhere.net www.aql.com To name 2 that spring to mind (UK-based.) They all use pretty much the same approach - send an e-mail to your_sms_device_number@providers_domain.tld, and it'll relay the first 160 characters (or whatever

Re: [Nagios-users] NRPE unable to read output

2007-02-21 Thread Andy Shellam (Mailing Lists)
I had this problem, and had to put the full path to sudo (/usr/bin/sudo) in nrpe's config. HTH Andy. Hari Sekhon wrote: I know that nrpe works, I run over 100 checks via nrpe, and on this host all other nrpe checks work. I don't know if it's really the sudo in the line because I have

Re: [Nagios-users] NRPE unable to read output

2007-02-21 Thread Andy Shellam (Mailing Lists)
Another stab in the dark... the NRPE agent isn't inside a BSD jail is it? My Nagios host refuses to read NRPE's output in a machine that's jailed :( Andy. Hari Sekhon wrote: Thanks for the reply, I just tried that but unfortunately it still gave the same result. I have another sudo

Re: [Nagios-users] Host down /UNREACHABLE

2007-02-16 Thread Andy Shellam (Mailing Lists)
Does the host have the same parent in both Nagios installations? It looks like on one Nagios server, the host goes through a parent which is down, and on the other there is no parent relationship (or it's parent is OK.) Note: UNREACHABLE is not in terms of the network packets not reaching

Re: [Nagios-users] email notice problem

2007-02-16 Thread Andy Shellam (Mailing Lists)
[EMAIL PROTECTED] wrote: I am running 2.7 on an Ubuntu server, with sendmail. I have read the docs, but am having trouble here. According to the examples given I have define contact set up correctly. I also have an alias nagiosadmin in /etc/aliases. Here is my config, and the error I am

Re: [Nagios-users] email notice problem

2007-02-16 Thread Andy Shellam (Mailing Lists)
[EMAIL PROTECTED] wrote: That looks fine to me. The problem is in your host-notify-by-email definition in the misccommands.cfg file. If you look below you have; sterilizing Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST 2007\n | -s Host DOWN alert for

Re: [Nagios-users] email notice problem

2007-02-16 Thread Andy Shellam (Mailing Lists)
[EMAIL PROTECTED] wrote: If you su to the Nagios user, and just run mail - does it yield anything, or command not found? The error seems to be (as someone previously said) it's piping your notification text to -s Host DOWN... which isn't a valid command. You need to change your notification

Re: [Nagios-users] email notice problem

2007-02-16 Thread Andy Shellam (Mailing Lists)
[EMAIL PROTECTED] wrote: The trick is to (while logged in or su'd to the Nagios user) manually type out a command and keep adjusting until it works - then put that into Nagios. e.g. echo Test e-mail|/usr/sbin/sendmail -s Host DOWN [EMAIL PROTECTED] OK, now we're getting somewhere.

Re: [Nagios-users] email notice problem

2007-02-16 Thread Andy Shellam (Mailing Lists)
[EMAIL PROTECTED] wrote: This is within your MTA - you'll have to read up (in sendmail's documentation) on how to set your nagios shell user as a trusted user within sendmailhassles tells sendmail the users that are allowed to usehasslehasslehassle it in program-mode (i.e. local

Re: [Nagios-users] Using SSH to run remote command checks

2007-02-16 Thread Andy Shellam (Mailing Lists)
Nagios Mail wrote: I wanted to update this problem as it appears to have never been resolved. The current version of check_by_ssh still returns an UKNOWN status in nagios. I have ran the command manually from the command line and echoed $?, and while it does return 0, nagios is putting in

Re: [Nagios-users] Plugin time out

2007-02-15 Thread Andy Shellam (Mailing Lists)
Hi Sean, If it's a standard plugin (from nagios-plugins), you can normally use the -t option in your check command definition to set the timeout to 300 seconds (i.e. 5 minutes.) E.g. /usr/local/nagios/libexec/check_ping -H [IP address] -w 1000,20% -c 2000,50% -t 300 Andy. Sean Thomas

Re: [Nagios-users] Bug in check_disk when using mount points?

2007-02-14 Thread Andy Shellam (Mailing Lists)
Hari, Works fine here (this is on Fedora 4) - check_disk (nagios-plugins 1.4.5) 1.79: [EMAIL PROTECTED] ~]$ df -h FilesystemSize Used Avail Use% Mounted on /dev/hda1 12G 1.4G 10G 13% / /dev/hda5 4.6G 33M 4.4G 1% /tmp /dev/hda6 56G

Re: [Nagios-users] Why Mysql on plugin installation

2007-02-12 Thread Andy Shellam (Mailing Lists)
Mestdagh Tommy wrote: Found ! ./configure --without-mysql Strange. On my system it builds without mysql by default, and you supply --with-mysql if you want MySQL included. Andy. - Using Tomcat but need to do more?

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

2007-02-09 Thread Andy Shellam (Mailing Lists)
the original issue that I'm now seeing, but never mentioned how he did so. Little help, Stu? Thanks, Garry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Shellam (Mailing Lists) Sent: Thursday, February 08, 2007 1:52 PM To: Stuart Thornton Cc: nagios

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

2007-02-08 Thread Andy Shellam (Mailing Lists)
Stuart Thornton wrote: Update I managed to sort out the sync issue however was stumped by the next error. The polling server feed returned a 'failure' code; the polling server said: The poller could not re-build the indexes The webserver user needs write permissions to NLG's

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-07 Thread Andy Shellam (Mailing Lists)
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Andy Shellam (Mailing Lists) *Sent:* Monday, 5 February 2007 7:24 PM *To:* moshe sharon *Cc:* Nagios Users Mailing List *Subject:* Re: [Nagios-users] Service Dependencies - refer to self

Re: [Nagios-users] Loosing status info after restart

2007-02-07 Thread Andy Shellam (Mailing Lists)
Is it set in Nagios generally, i.e. in your nagios.cfg? # cat /usr/local/nagios/etc/nagios.cfg|grep retain retain_state_information=1 use_retained_program_state=1 use_retained_scheduling_info=0 Andy Sjaak Nabuurs wrote: Hello Nagios users Nagios -v 2.5 I've hanging around for a long time

Re: [Nagios-users] Sending as specific email address

2007-02-07 Thread Andy Shellam (Mailing Lists)
Peter L. Berghold wrote: Unless totally misunderstand the issue this is more of a MTA configuration issue than a Nagios issue. FYI If you are using Exim as your MTA like me, you need to set your Nagios user as a trusted user - then as long as you have a From: header in your e-mail, Exim

Re: [Nagios-users] Nagios not polling httpd

2007-02-06 Thread Andy Shellam (Mailing Lists)
Sounds like a firewall issue between your Nagios server and 10.0.4.37. Andy. edalB wrote: Done the same. I just dont get any connection On 2/5/07, Robin Ericsson [EMAIL PROTECTED] wrote: On 2/5/07, edalB [EMAIL PROTECTED] wrote: Hi there I have a weird problem. I have a server

Re: [Nagios-users] Nagios not polling httpd

2007-02-06 Thread Andy Shellam (Mailing Lists)
is stopping packets getting there, or the web server on that machine is not listening on that IP. If you can connect to it with telnet, type GET / and you should get some form of HTML code back. Andy. Thanks tho On 2/6/07, Andy Shellam (Mailing Lists) [EMAIL PROTECTED] wrote: Sounds

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-05 Thread Andy Shellam (Mailing Lists)
moshe sharon wrote: Hi its pretty simple solution without perl script. create a service called NRPE and enter the following check_command command_name nrpe_version command_line ./check_nrpe -H 212.150.36.20 http://212.150.36.20 when running this command against NRPE daemon you should get

[Nagios-users] Nagios Looking Glass 1.0.2 in Beta-testing

2007-02-05 Thread Andy Shellam (Mailing Lists)
Nagios Looking Glass v1.0.2 Beta is available for download! This is a call for testers to try out 1.0.2 before it is released. The reason being there have been massive performance improvements in the way NLG gathers the data from Nagios, and I'm hoping people who couldn't get 1.0.1 or below

[Nagios-users] servicegroup_name in dependencies

2007-02-04 Thread Andy Shellam (Mailing Lists)
Can anyone see a problem with this service dependency setup? Nagios complains with a NULL service description/host name in service dependency definition message with this configuration, but I cannot see anything wrong myself. According to the manual: --- start man quote --- All Services In

[Nagios-users] Service Dependencies - refer to self

2007-02-04 Thread Andy Shellam (Mailing Lists)
Is there any way to make a service dependency refer to the service's own host? For example: I have a list of services that perform basic health checking (disk-space, swap-space, load, uptime etc) across all servers defined in Nagios. There is also a service on every server that checks that

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-04 Thread Andy Shellam (Mailing Lists)
Hugo van der Kooij wrote: On Sun, 4 Feb 2007, Andy Shellam (Mailing Lists) wrote: Is there any way to make a service dependency refer to the service's own host? In your case I would write a tiny script and generate the service dependencies. I guess some 20 lines of perl might do

Re: [Nagios-users] Nagios and exception monitoring

2007-01-30 Thread Andy Shellam (Mailing Lists)
You can do this in Nagios Looking Glass (a portal viewer for Nagios), you can set a filter so it only shows you hosts that have problems (and is refreshed at regular intervals so you can leave it on screen.) It might not be exactly what you're after, but worth a look?

[Nagios-users] NRPE in FreeBSD jail

2007-01-27 Thread Andy Shellam (Mailing Lists)
I've been struggling with this for the last 2 hours and I cannot work out where it's going wrong. I have a Nagios 2.7 server talking to an NRPE 2.6 client. The Nagios 2.7 server is running FreeBSD as does the NRPE client - however the NRPE client is being run in a FreeBSD jail (this is a hosted

Re: [Nagios-users] NRPE in FreeBSD jail

2007-01-27 Thread Andy Shellam (Mailing Lists)
Dan Langille wrote: On 27 Jan 2007 at 22:07, Andy Shellam (Mailing Lists) wrote: I've been struggling with this for the last 2 hours and I cannot work out where it's going wrong. I have a Nagios 2.7 server talking to an NRPE 2.6 client. The Nagios 2.7 server is running FreeBSD as does

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

2007-01-26 Thread Andy Shellam (Mailing Lists)
Specialist Northbrook / Glenview School District 30 On Jan 23, 2007, at 4:51 AM, Andy Shellam (Mailing Lists) wrote: 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

Re: [Nagios-users] Error when starting nagios in debug mode.

2007-01-25 Thread Andy Shellam (Mailing Lists)
Gopinath wrote: Hi and happy new year everyone, I am very new to this list nagios. So please bare with me. I have successfully installed and compiled nagios in my machine running Fedora core 3. When i try to start the nagios service I encounter with the following error. Error:

Re: [Nagios-users] Howto not check a service each day from 03-06

2007-01-24 Thread Andy Shellam (Mailing Lists)
Martin Møller Pedersen wrote: Hi, Every night some oracle databases are stopped. Is it possible to specifiy that the a specific service (eg. check_oracle) shouldn't be tested beetween eg. 03-06 each day. Certainly - define yourself a time period which doesn't include these times :)

Re: [Nagios-users] Howto not check a service each day from 03-06

2007-01-24 Thread Andy Shellam (Mailing Lists)
Marcel Mitsuto Fucatu Sugano wrote: On Wed, 2007-01-24 at 10:07 +, Andy Shellam (Mailing Lists) wrote: define timeperiod{ timeperiod_name oracle-downtime alias Oracle Downtime sunday 00:00-03:00,06:00-24:00

[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

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

2007-01-23 Thread Andy Shellam (Mailing Lists)
Hi Mark, If you enable the debugging option in the client/s3_config_stub.inc.php file ($Stub_ClientEnableDebugging) to 1, then visit http://nagioshost/nlg/client/?debug=yes;, that will generate your debugging output, but I'm guessing it will go as far as the error it's already generated in

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

2007-01-23 Thread Andy Shellam (Mailing Lists)
Frost, Mark {PBG} wrote: As a followup, it looks like (perhaps among other issues) the s3_poller.php script is timing out. I've turned on the displaying of PHP error messages and when I put the s3_poller.php URL in and wait, I eventually get: Fatal error: Maximum execution time of 30

Re: [Nagios-users] Nagios: checking actual health of a disk.

2007-01-23 Thread Andy Shellam (Mailing Lists)
I have SMART enabled on my hard disks, and have a plugin downloaded from Nagios Exchange (it requires Python) that parses the SMART output and reports an OK or Bad status. (I think it's called check_smartmon.py). Andy. David Rivera wrote: Hi all, I was wondering is anyone has done this, I

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

Re: [Nagios-users] Event Handlers

2007-01-19 Thread Andy Shellam (Mailing Lists)
(Mailing Lists) [EMAIL PROTECTED] wrote: Are event handlers enabled for this service? Do they show up as executed in the log file when your HTTP service goes down? edalB wrote: Hi all. I have created a event handler as a test to see how it works. The hard part I have done. I created

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

  1   2   >