Re: [Nagios-users] scaling check_nt checks on NSClient++/NC_net with passive checks?

2007-12-07 Thread Anthony Montibello
yes, With NC_NEt, this is one the primary uses of NC_Net. 1) install NC_NEt as the Windows client, (If it is not there already) 2) make sure the Active checks are running OK, (in case of slight differences from current Windows clients) 3) using check_nc_net use the switch to push Passive check co

Re: [Nagios-users] notification command

2007-12-07 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Keles, Cem > Sent: Friday, December 07, 2007 2:28 PM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] notification command > > Thanks but I've tried this already, no file cre

Re: [Nagios-users] Need the check_snmp module

2007-12-07 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Michael Egan > Sent: Friday, December 07, 2007 2:14 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Need the check_snmp module > > For some reason the check_snmp mo

Re: [Nagios-users] check_x -> automatically make check_a, check_b, check_c?

2007-12-07 Thread Roger
Perfect, thanks Gerhard. This looks (in theory!) to be perfect. Roger On Dec 7, 2007 2:54 AM, Gerhard Lausser <[EMAIL PROTECTED]> wrote: > Hi Roger, > > maybe check_multi http://www.my-plugin.de/wiki/projects/check_multi/start is > what you're looking for. > > Gerhard > > -

Re: [Nagios-users] notification command

2007-12-07 Thread Tal Cohen
Another "Hmmm".. OK, just for sanity you may want to replace your PHP script with a simple bash script that outputs to a file (like Mathew suggested). This will at least tell you if you have Nagios configured right to use that script. Tal _ From: [EMAIL PROTECTED] [mailto:[EMAIL PR

Re: [Nagios-users] notification command

2007-12-07 Thread Boeckman, Matthew
When you execute the script from the command line, what values do you pass for $CONTACTS$, $NOTIFICATIONTYPE$, $HOSTADDRESS$ ? What happens when you pass null values? Possible that somehow those are null in your config and the script is puking? Just kind of musing there. you could also try tun

Re: [Nagios-users] notification command

2007-12-07 Thread Keles, Cem
Thanks but I've tried this already, no file created unfortunately. I'm sure Nagios doesnt run script even the notification command is executed. Yes I thought that this was a script issue. But please note that this script works fine and sends mail when executed on command line by Nagios user. So th

[Nagios-users] Need the check_snmp module

2007-12-07 Thread Michael Egan
For some reason the check_snmp module did not install when I set up Nagios. Can somebody tell me where I can get this module? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell [EMAIL PROTECTED] ma

Re: [Nagios-users] notification command

2007-12-07 Thread Boeckman, Matthew
I would echo the earlier post - add a line like : echo "I ran" >> /some/log/file to your wrapper and something simlair to your PHP script. Sounds much more like an issue in the sh script or PHP than a nagios issue. -Matthew From: [EMAIL PROTECTE

Re: [Nagios-users] notification command

2007-12-07 Thread Keles, Cem
In fact I've done this like just in the beginning of script I'm using a /bin/mkdir command but script doesn't create this folder when used as nagios command. This means that nagios never runs the shell script. But in nagios log I see that it is called just after the state of check is changed. _

Re: [Nagios-users] notification command

2007-12-07 Thread Keles, Cem
No, it is being executed from command line like /usr/local/bin/php /path/aa.php. From: Valdinger, Stephen (DOV, MSX) [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 9:33 PM To: Keles, Cem; Nagios Users mailinglist Subject: RE: [Nagios-users] notifica

Re: [Nagios-users] notification command

2007-12-07 Thread Tal Cohen
Hmmm, without looking at your script, I would say your best bet is to add logging capabilities to your script. When your script runs, it should log to a file what it is doing and with what parameters/arguments it is running. That will at least give you an idea of where the script is dying, Tal

[Nagios-users] notification command

2007-12-07 Thread Keles, Cem
Hi, I've written a shell script which is calling a php code and I'm using this shell script as a notification command. It runs fine when tested on command line executed by both root and nagios user. But if used as nagios notification command, I cant receive any mail. Nagios logs show command is

[Nagios-users] scaling check_nt checks on NSClient++/NC_net with passive checks?

2007-12-07 Thread Roger
I just picked up a client with over a thousand check_nt calls, and the system is obviously lagging quite a bit. I'm hoping that tweaking the checks from active->passive is a quick fix to the lag. When a check_nt plugin calls the agent running on Windows (e.g. NSClient++ or NC_net), does it by defa

Re: [Nagios-users] CPU load, network usage or memory consumption periodic state

2007-12-07 Thread Christophe HENRY
Le Fri, 7 Dec 2007 14:12:10 +, "mark redding" <[EMAIL PROTECTED]> a écrit : > If you enable performance data then you can implement a script to take > this data and process it however you wish - for example, some folks > use the nagiosgraph package to produce rrd'style graphs from said > perfo

Re: [Nagios-users] NSClient++ - System holding port 5666 open, cannot rebind to it

2007-12-07 Thread Hari Sekhon
Hari Sekhon wrote: > Hi, > > I've been playing with my expanding my nsclient++ setups and > deployments today and as such have been restarted nsclient++ lots. The > problem is that now when I restart it, I cannot get any response on > nrpe calls to the default port 5666 despite the port being

Re: [Nagios-users] Connection Refused

2007-12-07 Thread Hari Sekhon
Michael Egan wrote: > > I am getting “Connection refused” status information on a Windows 2003 > server that is using NSClient++. Out of the 7 Windows server I have in > Nagios, this is the only server giving me that error. > > Any suggestions? > Check the service is running, it's probably stopp

Re: [Nagios-users] Connection Refused

2007-12-07 Thread Hari Sekhon
Michael Egan wrote: > The NSClient service is running and Windows Firewall is not running. > > I have uninstalled and reinstalled NSClient but the connections are > still refused from the server. > Check the port is bound for one by using netstat or tcpview. Is the config the same as the other

[Nagios-users] NSClient++ - System holding port 5666 open, cannot rebind to it

2007-12-07 Thread Hari Sekhon
Hi, I've been playing with my expanding my nsclient++ setups and deployments today and as such have been restarted nsclient++ lots. The problem is that now when I restart it, I cannot get any response on nrpe calls to the default port 5666 despite the port being open. The problem is seems i

Re: [Nagios-users] Connection Refused

2007-12-07 Thread Kevin Scott Sumner
Have you checked other services running on it? Particularly non-Microsoft services (smb/cifs, rdp, etc). Checked it with nmap to see if the port is (or at least looks) open to the outside world? Is the config exactly the same as the other clients, or is there something *special* about it? Th

Re: [Nagios-users] Connection Refused

2007-12-07 Thread Michael Egan
The NSClient service is running and Windows Firewall is not running. I have uninstalled and reinstalled NSClient but the connections are still refused from the server. -Original Message- From: Hari Sekhon [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 10:34 AM To: Michael Egan

Re: [Nagios-users] event triggered process?

2007-12-07 Thread Hari Sekhon
Cassandra Pugh wrote: > Is there a way to have a script fire off as a result of a nagios event? > You want event handlers. http://nagios.sourceforge.net/docs/2_0/eventhandlers.html You can run any program as the result of a change in status of a service. -h -- Hari Sekhon

[Nagios-users] Connection Refused

2007-12-07 Thread Michael Egan
I am getting "Connection refused" status information on a Windows 2003 server that is using NSClient++. Out of the 7 Windows server I have in Nagios, this is the only server giving me that error. Any suggestions? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833

[Nagios-users] event triggered process?

2007-12-07 Thread Cassandra Pugh
Is there a way to have a script fire off as a result of a nagios event? For example, Nagios could monitor/detect if a front-end mail server is down and then call a script to change the dns for the dns round robin for "MAIL and Exchange." This script would look at nagios down/up event to generate

[Nagios-users] NRPE: Unable to read output for check_procs

2007-12-07 Thread Jason Joines
I'm running Nagios 2.9 and NRPE 2.8.1 on Ubuntu 7.10 Gutsy. On the box running NRPE, I have check_procs defined in /etc/nagios/nrpe.cfg as: command[check_procs]=i/usr/lib/nagios/plugins/check_procs -w 250 -c 400 and I'm running NRPE as a daemon via "/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg

[Nagios-users] 2D and 3D layouts

2007-12-07 Thread NTOUGHE GUY-SERGE
Hi all, I've installed nagios 2.10 on RHEL5, with nagios-plugins-1.4.10, all work fine. I can monitor all the site machines of the site. my request concerns the possibility to view hosts monitored in the statusmap, and i would like to define a 3D map. I can see hosts in statusmap but without ic

Re: [Nagios-users] CPU load, network usage or memory consumption periodic state

2007-12-07 Thread mark redding
HI Christophe, On 07/12/2007, Christophe HENRY <[EMAIL PROTECTED]> wrote: > As far as I know, Nagios can be used to raise alerts when some plugins > > (like check_load) find something wrong. I didn't see anything to make the > > scripts write useful informations into script/computer readable files

Re: [Nagios-users] check_x -> automatically make check_a, check_b, check_c?

2007-12-07 Thread Gerhard Lausser
Hi Roger, maybe check_multi http://www.my-plugin.de/wiki/projects/check_multi/start is what you're looking for. Gerhard _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Roger Gesendet: Donnerstag, 6. Dezember 2007 23:29 An: nagios-users@lists.sourceforge.net Betreff:

[Nagios-users] CPU load, network usage or memory consumption periodic state

2007-12-07 Thread Christophe HENRY
Hello all, I'm brand new to Nagios, but I'm an experienced Linux user. That's why I will not bother you with trivial questions. Not now, though ;-) As far as I know, Nagios can be used to raise alerts when some plugins (like check_load) find something wrong. I didn't see anything to make the