Re: [Nagios-users] Monitoring Windows XP Professional Machines

2007-06-15 Thread Frost, Mark {PBG}
Richard, Having just gone through this myself, I feel qualified to answer :-) First off, I started trying to use NSClient++ with Nagios using the Nagios 3.0 documentation. After some experimentation I found that there are a number of places where that documentation is incorrect or leaves somet

[Nagios-users] Monitoring Windows XP Professional Machines

2007-06-15 Thread Richard Solid
I got installed the nsclient++ on a Windows XP Professional but the system tray is not showing up in the taskbar. I'm telneting to the localhost on port 5666 to see if its l;istening and no answer. Is this the correct agetn for Windows XP? Thanks for the inputs. --

Re: [Nagios-users] Nagios inventory

2007-06-15 Thread Jim Avery
On 15/06/07, Naim Abu Darwish <[EMAIL PROTECTED]> wrote: > Maybe its not you, I'm having the same problem too, hosts and services listed > twice. That's reassuring to know! fwiw, I cheat and pipe the output through "sort -u" to get rid of the duplicates. thanks, Jim --

Re: [Nagios-users] check_by_ssh

2007-06-15 Thread Patrick Morris
Hi Robert! On Fri, 15 Jun 2007, Robert Cole wrote: > Well as you might notice from my message the keybased authentication is > working well, no problem but I wasn't using sudo so I tried adding that > line to my sudo config with no success. It still asks for a passphrase > or password when I u

Re: [Nagios-users] check_by_ssh

2007-06-15 Thread Robert Cole
Well as you might notice from my message the keybased authentication is working well, no problem but I wasn't using sudo so I tried adding that line to my sudo config with no success. It still asks for a passphrase or password when I use check_by_ssh but if I "ssh remotecomputer" I go right in

[Nagios-users] gcc4.2 and nagios-snmp-plugins

2007-06-15 Thread Michael W. Lucas
Hi, I'm running Nagios 2.9 on FreeBSD/amd64 7. The official FreeBSD port of nagios-snmp-plugins indicates that the software is broken with gcc 4.2. My attempts to compile it indicate that, yes, it's broken. While I could install compat6x and a FreeBSD 6.x package of nagios-snmp-plugins, and th

Re: [Nagios-users] Nagios Looking Glass Creating Templates

2007-06-15 Thread Eric Hernandez
Andy, I ran the debug and i noticed that it was always saying that filter was out of date. Synchronising s3_filter.inc.php with server ... out-of-date ... updating ... bytes written I chmod -R 774 the entire client directory, it did not help. I than deleted the s3_filter.inc.php

Re: [Nagios-users] Nagios inventory

2007-06-15 Thread Naim Abu Darwish
On Fri, 15 Jun 2007 19:02:38 +0100 "Jim Avery" <[EMAIL PROTECTED]> wrote: > On 15/06/07, Jesús Oliván <[EMAIL PROTECTED]> wrote: > > Hi! > > > > i'm looking for some kind of Nagios plugin that allows to do inventory > > from a Nagios installation... is it possible? > > > > Thanks in advance! > >

Re: [Nagios-users] Nagios Looking Glass Creating Templates

2007-06-15 Thread Andy Shellam
Hi Eric, You can check the sync'ing using the debugging feature - it will say "file xxx out-of-date, sync'ing with server... OK" etc. It's impossible to test properly through the shell - as there are a couple of views which are loaded through Ajax - which isn't supported by either a shell scr

Re: [Nagios-users] check_by_ssh

2007-06-15 Thread James
Robert Cole wrote: > I tried the multiple v's: > > [EMAIL PROTECTED] ~ $ /usr/nagios/libexec/check_by_ssh -H remotecomputer -i > - ~/.ssh/id_dsa -C "/usr/nagios/plugins/check_swap -w 50% -c 10%" > Enter passphrase for key '/home/nagios/.ssh/id_dsa': > [EMAIL PROTECTED]'s password: > > Didn't g

Re: [Nagios-users] host-down notification can take 50 mins to be sent

2007-06-15 Thread stucky
I suggest you wait since 3.x alpha is out now but I've had worse probs with this one so I reverted back to the latest stable release. I've also been running 2.0a for another site and have never had this problem with this version before. So I'd be interested to see your results with 2.9 or 3.x thx

Re: [Nagios-users] host-down notification can take 50 mins to be sent

2007-06-15 Thread Jim Avery
On 15/06/07, stucky <[EMAIL PROTECTED]> wrote: > Jim > > I'm confused > > 1. Nagios 2.9 comes with flapping turned off globally by default : > > # Values: 1 = enable flap detection > # 0 = disable flap detection (default) > > enable_flap_detection=0 > > 2. It also comes with check_for_orpha

Re: [Nagios-users] check_by_ssh

2007-06-15 Thread Robert Cole
I tried the multiple v's: [EMAIL PROTECTED] ~ $ /usr/nagios/libexec/check_by_ssh -H remotecomputer -i - ~/.ssh/id_dsa -C "/usr/nagios/plugins/check_swap -w 50% -c 10%" Enter passphrase for key '/home/nagios/.ssh/id_dsa': [EMAIL PROTECTED]'s password: Didn't give me anymore output but as I

Re: [Nagios-users] Nagios Looking Glass Creating Templates

2007-06-15 Thread Eric Hernandez
Andy, I will try to use the debugging in the future. What I have been doing to make LookingGlass work since I started using it Yesterday Was to run php index.php from the shell on the server in the client directory.' And than it works fine after that. I did this again since changing

[Nagios-users] check_by_ssh

2007-06-15 Thread Robert Cole
I noticed this list has a lot more activity on it and the plugin list next to none so please excuse me. I'm not sure if I found a bug or what but I can login to the remote system I'm trying to check with key based authentication I can even do a "ssh -i ~/.ssh/id_dsa remotecomputer "/usr/nagios

Re: [Nagios-users] Help optimizing nagios for when things go wrong

2007-06-15 Thread kyle . odonnell
http://nagios.sourceforge.net/docs/2_0/tuning.html I also just started playing with nagios.cfg: service_reaper_frequency reduced my service check latency from ~250 to ~30 seconds by changing the value from 15 to 5 On 6/15/07, Jim Avery <[EMAIL PROTECTED]> wrote: > On 15/06/07, George Bryan <[EM

Re: [Nagios-users] Nagios Looking Glass Creating Templates

2007-06-15 Thread Andy Shellam
Hi Eric, That error is the standard "can't find the server", for one of the following reasons: - Access denied - Page not found (404) - Internal server error (503) For a guess, you haven't changed the password in the .htaccess file (or Apache's httpd.conf) that you're using to secure your NLG

[Nagios-users] Fwd: host-down notification can take 50 mins to be sent

2007-06-15 Thread stucky
-- Forwarded message -- From: stucky <[EMAIL PROTECTED]> Date: Jun 15, 2007 11:17 AM Subject: Re: [Nagios-users] host-down notification can take 50 mins to be sent To: Jim Avery <[EMAIL PROTECTED]> Jim I'm confused 1. Nagios 2.9 comes with flapping turned off globally by default

Re: [Nagios-users] Help optimizing nagios for when things go wrong

2007-06-15 Thread Jim Avery
On 15/06/07, George Bryan <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm having a big problem with nagios service check latencies. What do you use for your host check command? You want to use something which runs as quickly as possible. I use check_icmp with only one ping. I believe check_fping i

Re: [Nagios-users] Nagios inventory

2007-06-15 Thread Jim Avery
On 15/06/07, Jesús Oliván <[EMAIL PROTECTED]> wrote: > Hi! > > i'm looking for some kind of Nagios plugin that allows to do inventory > from a Nagios installation... is it possible? > > Thanks in advance! If you run ndoutils then you can query the MySQL database using SQL. Admittedly whenever I've

Re: [Nagios-users] host-down notification can take 50 mins to be sent

2007-06-15 Thread Jim Avery
On 15/06/07, stucky <[EMAIL PROTECTED]> wrote: > Actually, flapping is turned off globally in nagios.cfg and although it's > still turned on in the host template it shouldn't matter right ? No, my understanding is that the global setting overrides everything else (I've never turned it off globally

Re: [Nagios-users] Nagios Looking Glass Creating Templates

2007-06-15 Thread Eric Hernandez
I changed it in the Client-Side, i tried first changing it in the Server Side but it would not work. I guess its not syncing. I change the password for nagiosadmin that i was using for the site. and now it doesnt work. I set the new password in the s3_config.inc.php in server/sync-file

Re: [Nagios-users] FW: NSClient++ on windows machine

2007-06-15 Thread Palle Jensen
Thanks Lars... I have done a lot of reading :=) but I still don't get it right, though I think I am very close. I made some changes, but for some reason it still doesn't match, where do I do wrong? Below are my settings, outputs and results. Is anyone able to see what is wrong? Service defeniti

Re: [Nagios-users] Nagios Looking Glass Creating Templates

2007-06-15 Thread Eric Hernandez
I was setting this in the wrong place. I was doing it in the server not the client. It works great now. Thanks. Eric Hernandez <[EMAIL PROTECTED]> wrote: Andy, I added this to s3_filter.inc.php but it does not show up in the drop down menu. on the web page. $HostFilter[6] = ne

Re: [Nagios-users] Nagios Looking Glass Creating Templates

2007-06-15 Thread Andy Shellam
Hi Eric, Have you added it to the server-side, or client-side? It has to be in the server-side or it'll get overwritten the next time you open your client. I've copied and pasted the code into mine - works fine. http://looking-glass.andyshellam.eu Andy. Eric Hernandez wrote: > Andy, > I added

Re: [Nagios-users] Nagios Looking Glass Creating Templates

2007-06-15 Thread Eric Hernandez
Andy, I added this to s3_filter.inc.php but it does not show up in the drop down menu. on the web page. $HostFilter[6] = new S3_NetworkFilter(); $HostFilter[6]->Create("test"); $HostFilter[6]->SetType("host"); $HostFilter[6]->AddHost("AA-CG-SW1"); -eric Andy Shellam <[EMAIL PROTEC

Re: [Nagios-users] Problems Starting Nagios

2007-06-15 Thread Andy Shellam
The message "could not get passwd entry for 'nagiosadmin'" suggests the user nagiosadmin does not exist on the system. Check your config files for the directive that's telling Nagios to run as "nagiosadmin" instead of "nagios." Andy. Morris, Patrick wrote: >> I'm still getting an error, even th

Re: [Nagios-users] Nagios Looking Glass Creating Templates

2007-06-15 Thread Andy Shellam
Hi Eric, You don't need to create a separate template to only show specific hosts - what you're looking for is a custom filter (which will get added to the "filter hosts" drop-down, whichever template you're using.) First off I take it you're using the latest 1.0.6 version? If so, see the "fi

Re: [Nagios-users] what do you use for pager?

2007-06-15 Thread David Rudder
I work with a lot of different ways of contacting people, and they all have their ups and downs. My favorite is to have Nagios call me with the alert read via text-to-speech. I have it call my cell, which I sleep with, so it wakes me up, but not the wife and kids. I can then respond with the

Re: [Nagios-users] what do you use for pager?

2007-06-15 Thread Adam Kennedy
We are using a Samba75 USB modem on the Cingular/AT&T network. It seems to work just fine. I am writing our own scripts to control hosts/services (ack, schedule downtime, reset equipment, etc) by replying to the sms. Jeremy C. Reed wrote: > (I wrote a long email yesterday but no response, so w

[Nagios-users] Help optimizing nagios for when things go wrong

2007-06-15 Thread George Bryan
Hi all, I'm having a big problem with nagios service check latencies. When the network is in normal operation, with few hosts or services in critical states, everything goes smoothly, however, today we had some problems and there were a large amount of nrpe checks timing out after 10 seconds. In

[Nagios-users] what do you use for pager?

2007-06-15 Thread Jeremy C. Reed
(I wrote a long email yesterday but no response, so will ask differently:) What type of device and SMS network do you use for the target of your nagios "pager"? Is it easy to read and managed hundreds of SMS/phone messages? How reliable is your SMS network? And can you easily respond or resolv

Re: [Nagios-users] How to set the sourceaddress for all checks?

2007-06-15 Thread Michael Silver
Howdy, >> Actually, some versions of ping do allow you to set the source >> address. The version in iputils package allows you to set the IP via >> -I . I don't have a machine I can test >> the exact situation described, but I believe it will work as desired. > > That's nice but that doesn't help

Re: [Nagios-users] problem nagios snmp with windows machines

2007-06-15 Thread andres sarmiento
Thanks Patrick and Max for the Help. Thanks from Chile Saludos 2007/6/15, Patrick Proy <[EMAIL PROTECTED]>: > Hi, > > All the syntax of all the scripts can also be found at the home page of the > project : http://nagios.manubulon.com . > And, as Max Hetrick said, you can always do a

Re: [Nagios-users] How to set the sourceaddress for all checks?

2007-06-15 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Michael Silver > Sent: Thursday, June 14, 2007 5:32 PM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] How to set the sourceaddress for all checks? > > [EMAIL PROT

Re: [Nagios-users] problem nagios snmp with windows machines

2007-06-15 Thread Patrick Proy
Hi, All the syntax of all the scripts can also be found at the home page of the project : http://nagios.manubulon.com . And, as Max Hetrick said, you can always do a

Re: [Nagios-users] problem nagios snmp with windows machines

2007-06-15 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 andres sarmiento wrote: > > debian:/usr/lib/nagios/plugins# ./check_snmp_int.pl -H 192.168.137.1 > -C publica -w 90 --c 100 -T stand > Unknown option: T > Usage: ./check_snmp_int.pl [-v] -H -C [-2] | > (-l login -x passwd [-X pass -L ,) [-p ] -n i

Re: [Nagios-users] problem nagios snmp with windows machines

2007-06-15 Thread andres sarmiento
Thanks Max for the how-to, i read it and is very easy, and works for me. How i can set all the snmp command with the correct syntax. For example: debian:/usr/lib/nagios/plugins# ./check_snmp_load.pl -H 192.168.137.1 -C publica -w 90 --c 100 -T stand 1 CPU, load 6.0% < 90% : OK and that works fine.

Re: [Nagios-users] Cancel Downtime?

2007-06-15 Thread Aidan Anderson
Aidan Anderson wrote: >> On Jun 7, 2007, at 11:18 PM, Anthony Mendoza wrote: >> >> >> >>> Click "Downtime" and then the Trash can icon to the right of the >>> service/host you want to cancel. >>> >>> >>> -Original Message- From: [EMAIL PROTECTED] [mailto:[

Re: [Nagios-users] Cancel Downtime?

2007-06-15 Thread Aidan Anderson
> > On Jun 7, 2007, at 11:18 PM, Anthony Mendoza wrote: > > >> Click "Downtime" and then the Trash can icon to the right of the >> service/host you want to cancel. >> >> >>> -Original Message- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On Behalf >>> Of Wil Schultz >>>

[Nagios-users] Nagios inventory

2007-06-15 Thread Jesús Oliván
Hi! i'm looking for some kind of Nagios plugin that allows to do inventory from a Nagios installation... is it possible? Thanks in advance! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE v

Re: [Nagios-users] host-down notification can take 50 mins to be sent

2007-06-15 Thread Jim Avery
On 15/06/07, stucky <[EMAIL PROTECTED]> wrote: > Guys > > I'm trying the latest stable 2.x version (2.9) and on top of the 2 already > existing default host templates I added a 3rd one since the documentation > states that there is no limit. > > I added a host and started monitoring. When I took it

Re: [Nagios-users] How to set the sourceaddress for all checks?

2007-06-15 Thread Ingo Lantschner
>> You cannot. Your OS's TCP stack determines what source IP to use; the >> base IP on the interface used to reach the destination network. Thanks to all your clarifications and suggestions - actually there were redundant routes on this host which resulted in unpredictable source-addresses whe

[Nagios-users] host-down notification can take 50 mins to be sent

2007-06-15 Thread stucky
Guys I'm trying the latest stable 2.x version (2.9) and on top of the 2 already existing default host templates I added a 3rd one since the documentation states that there is no limit. I added a host and started monitoring. When I took it down it took between 2 - 5 mins for the host down notific

Re: [Nagios-users] FW: NSClient++ on windows machine

2007-06-15 Thread Lars Stavholm
Palle Jensen wrote: > Hej :=) > > Thanks Lars, still struggling in between, to get the ngraphs working for my > Check_nt services. > > I tried what you said and i got the output data, but how to change it in the > ngraph definition? That seems to be not all that easy. > > For example: > check_nt