Re: [Nagios-users] Problem with Send_NSCA on Windows

2008-01-23 Thread ankit . mehrotra
Hi, I know how to echo a message on the console . my problem is of redirecting the string to Send_Nsca.exe , which needs to be sent to the Nagios Server for the passive service check. Any mechanism for doing it will be helpfull. When I tried redirection through a file to the SendNsca.exe

Re: [Nagios-users] Problem with high latencies after going distributed

2008-01-23 Thread Frost, Mark {PBG}
>-Original Message- >From: Thomas Guyot-Sionnest [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 23, 2008 10:24 PM >To: Frost, Mark {PBG} >Cc: Nagios Users >Subject: Re: [Nagios-users] Problem with high latencies after >going distributed > >-BEGIN PGP SIGNED MESSAGE- >Hash:

Re: [Nagios-users] Problem with high latencies after going distributed

2008-01-23 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/01/08 10:41 AM, Frost, Mark {PBG} wrote: > > >> -Original Message- >> From: Thomas Guyot-Sionnest [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, January 22, 2008 10:29 PM >> To: Frost, Mark {PBG} >> Cc: Nagios Users >> Subject: Re: [Nagi

Re: [Nagios-users] how to monitor www.domain.com without host object

2008-01-23 Thread August Simonelli
Thanks everyone! I really should have looked at the manual. The address directive in the host definition is pretty clearly explained: "This directive is used to define the address of the host. Normally, this is an IP address, although it could really be anything you want (so long as it can be use

Re: [Nagios-users] how to monitor www.domain.com without host object

2008-01-23 Thread August Simonelli
but the host has no ip. can i make a host entry without an ip? i only need th host entry so i can create a service (which requires a host, right?). then i http_check -I against a dns name? i'm guessing like this: define host{ use generic-host; Inherit default value

Re: [Nagios-users] how to monitor www.domain.com without host object

2008-01-23 Thread Brock Kuhse
Sorry for the top post - I haven't quite figured out how to get Outlook 2007 to behave properly when replying to HTML emails (switching to plain text after I hit "Reply" doesn't seem to quote the original properly). I'm sure I'll figure it out. Soon. Anyway, we monitor plenty of clients for

Re: [Nagios-users] how to monitor www.domain.com without host object

2008-01-23 Thread Patrick Morris
Hi August! On Thu, 24 Jan 2008, August Simonelli wrote: > i have no host objects for the external caches, so what IP do i do my > http_check tests against to ensure that i'm hitting our outermost layer as a > user would? Use the DNS name instead of IP.

[Nagios-users] how to monitor www.domain.com without host object

2008-01-23 Thread August Simonelli
Hi Nagios-ers ... I need a little help with some logic here. In our network we have the usual set up: web servers -> VIP -> Cache -> VIP but then on top of the cache VIP we also use an external caching provider (no prizes for guessing who that is, akamai) this means all requests for www.mysite

Re: [Nagios-users] Problem with Send_NSCA on Windows

2008-01-23 Thread Anthony Montibello
Actually C# Does have echo, try System.Console.WriteLine("ECHO TO STANDARD IO"); you can also write to standard error and you can also redirect IO streams, C# give pleanty of ways for doing this, since it is a full development language and the Dot NEt Framework offers pleanty of classes, Go to MS

Re: [Nagios-users] flap_detection_enabled persistence acrossreload/restart?

2008-01-23 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Tom Throckmorton > Sent: Wednesday, January 23, 2008 4:16 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] flap_detection_enabled persistence > acrossreload/restart?

[Nagios-users] flap_detection_enabled persistence across reload/restart?

2008-01-23 Thread Tom Throckmorton
Nagios 2.10, CentOS 5 x86_64 / i386, NDOUtils 1.4b6 Hi all, I've noticed something odd wrt flapping, and am wondering if I'm overlooking something simple, or just misunderstanding the way flapping and state retention are supposed to work. First, just to verify, my main nagios config has: enabl

Re: [Nagios-users] check_http returning success full results on a urlwhich is down

2008-01-23 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Darren McMillan > Sent: Wednesday, January 23, 2008 10:51 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] check_http returning success full results on a > urlwhich i

Re: [Nagios-users] Problem with high latencies after going distributed

2008-01-23 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Frost, Mark {PBG} > Sent: Tuesday, January 22, 2008 10:34 AM > To: Nagios Users > Subject: [Nagios-users] Problem with high latencies after going > distributed > > > > As I'd mentioned

Re: [Nagios-users] check_hparray hpacucli w/ sudo on debian/win2k (WAS: Re: Plugin help)

2008-01-23 Thread Steve Amat
I'm running Debian on VMWare. Which is running on an ESX server. I want to remotely check the RAID arrays. I don't have a preference on how I do it as long as I can do it. The easier the better. It sounds like I'm going about it the wrong way. Any suggestions? Thanks for the repl

[Nagios-users] Service dependency not working

2008-01-23 Thread John T
Hi, I've configured a dependency for multiple services, due to high link utilization on a circuit. The link utilization service is called "Site B Primary Traffic" on host "SITEB". In this example, I would expect notifications for "Ping" on Host "DEPENDENTHOST1" to be suppressed if "Site B Primary

[Nagios-users] Memory and fork problem with Nagios 2.9

2008-01-23 Thread stefano ghelfi
Hi list, I'm quit new to Nagios, and I would know if someone can help me. This is my enviroment: - VMWare Virtual machine running over Microsoft Windows [Version 5.2.3790] with 2 GB RAM - Red Hat Enterprise Linux Server release 5 (Tikanga) installed on the VM - NAGIOS 2.9 with embedded perl -

[Nagios-users] check_http returning success full results on a url which is down

2008-01-23 Thread Darren McMillan
Hi All, I’m currently running Nagios 3.0 on a Fedora 7 box, with the latest plug-in package. I’m trying to configure the check_http plug-in to check a test harness running on a Windows box which can be accessed via a web interface. The problem is that I have brought the test harness down, so

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread Scott Sanders
A recurring flexible downtime is the solution I am currently using. However, my requirements have changed because certain tasks are not scheduled by time, but are instead triggered by other factors. So simply setting a recurring downtime window, or blacking out certain hours from the notification p

Re: [Nagios-users] Problem with high latencies after going distributed

2008-01-23 Thread Frost, Mark {PBG}
>-Original Message- >From: Thomas Guyot-Sionnest [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 22, 2008 10:29 PM >To: Frost, Mark {PBG} >Cc: Nagios Users >Subject: Re: [Nagios-users] Problem with high latencies after >going distributed > >-BEGIN PGP SIGNED MESSAGE- >Hash: S

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread Aaron M. Segura
Can't you set flexible recurring downtime to solve this? Ie: If the MySQL Database goes down between Midnight and 4am, start a downtime window that last for 1 hour. If the DB is still down after an hour, send an alert. I wrote a PHP script you can use in cron to schedule such a downtime event:

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread Scott Sanders
Kyle, Yes, I have been following the thread you linked and saw some of the suggestions made. However, all of them seem "hackish" to me. Using NFS is not a good solution for me, because it reduces the portability of my scripts. For example, if a server that runs processes which disrupt monitored se

Re: [Nagios-users] NDO Troubles

2008-01-23 Thread Tom Throckmorton
On Jan 23 11:00, Giles Coochey wrote: > > > Have you tried the advice of someone else to give InnoDB loads of > memory? I would like to try that, but have no idea as to how to do it! > Perhaps someone can advise? Have a look at the sample mysql configs that come w/ the mysql-server package (/usr/

Re: [Nagios-users] Determining the success or failure of externalcommands

2008-01-23 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Scott Sanders > Sent: Wednesday, January 23, 2008 8:39 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Determining the success or failure of > externalcommands >

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread kyle . odonnell
Hi Scott, I'm in the process of doing something similar. I've come up with something that may help you. Read my thread entitle "nagios.cmd over nfs" http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[mode]=1&tx_maillisttofaq_pi1[showUid]=8571 If nfs isn't an option, Th

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread Scott Sanders
In my case, a backup job might take down a MySQL database for anywhere from 1 minute to 1 hour, depending on the size of the database. Because the time needed to perform the backup is flexible and the time when the backup might occur is not always known, I cannot simply set the affected services to

Re: [Nagios-users] nagios.cmd over nfs

2008-01-23 Thread kyle . odonnell
Thanks for the pointers. On 1/23/08, Thomas Guyot-Sionnest <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 23/01/08 08:12 AM, [EMAIL PROTECTED] wrote: > > Success! > > > > Web Server- > > cmd.c > > > > change: > > fopen(command_file,"w") > > to: > > fopen("/path

Re: [Nagios-users] nagios.cmd over nfs

2008-01-23 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/01/08 08:12 AM, [EMAIL PROTECTED] wrote: > Success! > > Web Server- > cmd.c > > change: > fopen(command_file,"w") > to: > fopen("/path/to/cgi.pipe","a") > > Nagios Server- > > edit nagios startup script to: > > start) > touch /path/to/cgi.pi

[Nagios-users] Problem with Send_NSCA on Windows

2008-01-23 Thread ankit . mehrotra
Hi, I am trying to monitor windows machines passively. For the same, I am writing some code in C#. The problem is, C# does not support anything like echo command(The way we used to do it on Linux). I have tried to redirect the output from a file to the send_nsca exe, but to no avail. Can you su

Re: [Nagios-users] nagios.cmd over nfs

2008-01-23 Thread kyle . odonnell
Success! Web Server- cmd.c change: fopen(command_file,"w") to: fopen("/path/to/cgi.pipe","a") Nagios Server- edit nagios startup script to: start) touch /path/to/cgi.pipe tail -f /path/to/cgi.pipe > /path/to/nagios.cmd stop) rm /path/to/cgi.pipe On 1/23/08, [EMAIL PROTECTED] <[EMAIL PROTEC

Re: [Nagios-users] nagios.cmd over nfs

2008-01-23 Thread kyle . odonnell
I was thinking of changing the cgi.cgi source to write to an actual file on the nfs mount, and then have tail -f nfswrittenfile.cmd-pipe > /path/to/nagios.cmd On 1/22/08, Thomas Guyot-Sionnest <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 22/01/08 03:38 PM, [E

Re: [Nagios-users] custom notification script

2008-01-23 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/01/08 05:49 AM, Rilawich Ango wrote: > Hi all, > In the templates.cfg, there is a notification command called > notify-host-by-email. Where to define that command? > How can I write my own command when there is a problem? > ango Look for files

[Nagios-users] custom notification script

2008-01-23 Thread Rilawich Ango
Hi all, In the templates.cfg, there is a notification command called notify-host-by-email. Where to define that command? How can I write my own command when there is a problem? ango - This SF.net email is sponsored by: Micros

Re: [Nagios-users] NDO Troubles

2008-01-23 Thread Giles Coochey
> > you just delete the database and ndodaemon back to work ? > I have to run the db installation script that comes with ndoutils to recreate the db schema. > if you use postgresql? same problem ?? Is postgresql support actually working? I found conflicting information as to whether it would w

Re: [Nagios-users] Determining the success or failure of external commands

2008-01-23 Thread Andreas Ericsson
Scott Sanders wrote: > Hi, > > I am working on implementing some functionality that will allow me to safely > expose nagios.cmd to external hosts. In my environment there are maintenance > tasks that run periodically which disrupt certain services, causing nagios > to start generating alerts. Need