[Nagios-users] Sending sms goes to deadletter file

2005-12-21 Thread Soumya Nambiar
> Hi all, > > I am using the following definition in my miscommands.cfg file > > define command{ > command_name notify-by-sms > command_line /usr/bin/perl -wT /usr/lib/nagios/plugins/notify_sms -a xxx > -u -p -t $CONTACTPAGER$ -m \"$NOTIFICATIONTYPE$: $HOSTNAME$ is > $SERVICESTATE$ ($

[Nagios-users] Fail again - modify the service down email notification setting

2005-12-21 Thread CC Yuen
Dear list, I was ask the above question (see title) last month and got many helps, thanks for the helps. But eventually it is fail when I do change to the cfg file. Would anyone can show me the example of the email notification setting of the service down for reference? Thats great for my silly l

RE: [Nagios-users] sms & pager problem ?

2005-12-21 Thread Tedman Eng
You need to test as the 'nagios' user because the program itself runs in the context of the nagios user. Step in its shoes if you want to troubleshoot from its perspective. "su - nagios" from your root prompt or login to the console/ssh as nagios -Original Message- From: Mehmet Fatih

Re: [Nagios-users] No notification sent - what am I doing wrong?

2005-12-21 Thread Hugo van der Kooij
On Wed, 21 Dec 2005, Eivind Olsen wrote: > Raphaël 'SurcouF' Bordet wrote: > > This service is depending from generic-service template but you've > > forget to paste this object too. Do you have defined an option > > "notification_options" in this template ? If not, you must define this > > option

RE: [Nagios-users] Nagios not showing all hosts!

2005-12-21 Thread Lori Adams
Sounds like multiple nagios processes running. Kill them all and restart nagios and see if that makes it better. -Lori > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Jim Perrin > Sent: Wednesday, December 21, 2005 10:10 AM > To: Wie

RE: [Nagios-users] Authorization situation

2005-12-21 Thread Lori Adams
Before getting your reply, I had just figured that out. That's exactly what I did. Require user A -Lori > -Original Message- > From: Tedman Eng [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 21, 2005 11:10 AM > To: Lori Adams; nagios-users@lists.sourceforge.net > Subje

Re: [Nagios-users] sms & pager problem ?

2005-12-21 Thread Mehmet Fatih AKBULUT
hi Ludo,i've been doing everything as root privileges for now :)so,as root :#/usr/local/bin/gsmsendsms -d /dev/ttyd0 -b 19200 05322623103 "hello" the line above works fine .but for the user 'nagios', i haven't tried anything yet. because all other services work fine under root. [except send-sms.] d

[Nagios-users] Nagios 2.0b6 doesn't create status.dat or schedule checks at startup

2005-12-21 Thread Taco Mel
Please help. I am running nagios 2.0b6 (released version and also tried the latest CVS) on Red Hat Enterprise 4, where the Nagios process appears to start but does not create the status.dat file, nor does it start executing checks.  This is after leaving it running for about 30 minutes, still noth

Re: [Nagios-users] Distributed monitoring problem

2005-12-21 Thread Marcel Mitsuto Fucatu Sugano
On Wed, 2005-12-21 at 12:08 +0100, Rob Hassing wrote: > Hello all, Hi Rob, > I'm trying to setup a distributed monitoring system. > At the start all looked fine too me, but now I'm having some problems on > not receiving all passive checks from other hosts. Distributed monitoring is waaay cool.

RE: [Nagios-users] Authorization situation

2005-12-21 Thread Tedman Eng
You can edit your web server's .htaccess or equivalent to restrict access to cmd.cgi for the user. Create a clause in apache's .conf to restrict access as shown in the the admin.cgi example: http://httpd.apache.org/docs/1.3/mod/core.html#files -Original Message- From: Lori Adams [mailt

Re: [Nagios-users] Sound notification on nagios server (solution)

2005-12-21 Thread Marcio Merlone
On Qui, 2005-12-15 at 20:48 +0100, Hugo van der Kooij wrote: > On Thu, 15 Dec 2005, Marcio Merlone wrote: > > [EMAIL PROTECTED]:/etc/nagios# su - nagios -c > > "/usr/bin/aplay /usr/share/nagios/htdocs/media/critical.wav" > > [EMAIL PROTECTED]:/etc/nagios# If I try su - nagios -s /bin/bash -c aplay

Re: [Nagios-users] Nagios not showing all hosts!

2005-12-21 Thread Jim Perrin
On 12/21/05, Wiedemann, Luis <[EMAIL PROTECTED]> wrote: > > > > Hello all, > > I am having a quite peculiar problem. The more hosts I add in nagios the > more the web interface starts to flake out! I am wondering if it's an Apache > issue or some setting somewhere in the cfg's of nagios but when I

[Nagios-users] Authorization situation

2005-12-21 Thread Lori Adams
I’m using nagios 1.2 on gentoo.   Apache authentication works great. I’ve been reading the docs, and found some helpful information on authorizations on this list.  However, I am unable to exactly figure out the right set of directives, to achieve what I’m looking for.   I have two use

[Nagios-users] Nagios not showing all hosts!

2005-12-21 Thread Wiedemann, Luis
Hello all, I am having a quite peculiar problem. The more hosts I add in nagios the more the web interface starts to flake out! I am wondering if it’s an Apache issue or some setting somewhere in the cfg’s of nagios but when I click on host detail, sometimes it will show all 211 hosts, or

RE: [Nagios-users] Remotely Checking Windows: Mapped Network Drives

2005-12-21 Thread Subhendu Ghosh
Not on XP - you may have to run the script as the logged-on user in order to see the mapped drives. XP's terminal server'ish behaviour at issue. http://www.codecomments.com/VBScript/message712324.html On Wed, 21 Dec 2005, Robert Reeves wrote: All are WindowsXP. I'll look into WMI32_Mappe

Re: [Nagios-users] Will event broker modules have access to Nagios config?

2005-12-21 Thread John Mark Walker
This may give you some info: http://www.itgroundwork.com/blog/?p=13 My understanding is that just about everything will be available to modules. Sometime in January, Taylor will be releasing our code for the event broker interface. Look for more posts on the GroundWork blog in the next few week

[Nagios-users] Sending sms goes to deadletter file

2005-12-21 Thread Soumya Nambiar
Hi all, I am using the following definition in my miscommands.cfg file define command{ command_name notify-by-sms command_line /usr/bin/perl -wT /usr/lib/nagios/plugins/notify_sms -a xxx -u -p -t $CONTACTPAGER$ -m \"$NOTIFICATIONTYPE$: $HOSTNAME$ is $SERVICESTATE$ ($SERVICEOUTPUT$)\" }

Re: FW: [Nagios-users] Host checks

2005-12-21 Thread Holger Weiss
* prashanth guduru <[EMAIL PROTECTED]> [2005-12-16 14:31]: > Its true it doesnt talk about how you can do that in the > documentation. Yes. > But the documentation does say that it is going to try it until the > max_attempts, so i guess it keeps running the command that many times > or until the

RE: [Nagios-users] Re: contacts.cfg file errors when running pre-flight

2005-12-21 Thread Lori Adams
" The contactgroups membership has to be defined via the directive "members" of a contactgroups object, not via "contactgroups" in a contacts object." So they gave you the error message and exactly what was wrong. What you have shown us is that you are defining a contact, not a contactgroup.

RE: [Nagios-users] Remotely Checking Windows: Mapped Network Drives

2005-12-21 Thread Robert Reeves
All are WindowsXP. I'll look into WMI32_MappedLogicalDisk. Have you had success with that before? Thanks! Robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Subhendu Ghosh Sent: Wednesday, December 21, 2005 10:03 AM To: Robert Reeves Cc: nagios-use

Re: [Nagios-users] Remotely Checking Windows: Mapped Network Drives

2005-12-21 Thread Subhendu Ghosh
On Wed, 21 Dec 2005, Robert Reeves wrote: I have several windows servers that use mapped network drives. At times, these drives become unavailable and halt services. I would like to be able to monitor these drives. I have both NRPE_NT and nsclient running on the Windows boxes. Both responses ar

[Nagios-users] Remotely Checking Windows: Mapped Network Drives

2005-12-21 Thread Robert Reeves
Title: Remotely Checking Windows: Mapped Network Drives I have several windows servers that use mapped network drives. At times, these drives become unavailable and halt services. I would like to be able to monitor these drives. I have both NRPE_NT and nsclient running on the Windows boxes.

Re: [Nagios-users] No notification sent - what am I doing wrong?

2005-12-21 Thread Eivind Olsen
Raphaël 'SurcouF' Bordet wrote: This service is depending from generic-service template but you've forget to paste this object too. Do you have defined an option "notification_options" in this template ? If not, you must define this option in order to having notifications to work. Ah ok. The g

RE: [Nagios-users] sms & pager problem ?

2005-12-21 Thread Ludo Bosmans
Hi Mehmet,   Have you tried from the command line as “Nagios user” ?   Kind regards,   ludo   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mehmet Fatih AKBULUT Sent: woensdag 21 december 2005 10:44 To: nagios-users@lists.sourceforge.net Subject: [Nagios-use

Re: [Nagios-users] No notification sent - what am I doing wrong?

2005-12-21 Thread Raphaël 'SurcouF' Bordet
Le mercredi 21 décembre 2005 à 10:36 +0100, Eivind Olsen a écrit : > Hello. > > I have a server running Nagios v2.0b4. I have configured some test on > some hosts. Tonight one of the monitored hosts (monitored through nrpe) > had a full filesystem, but no notification email was sent from the >

Re: [Nagios-users] Trouble logging performance data

2005-12-21 Thread Raphaël 'SurcouF' Bordet
Le mercredi 21 décembre 2005 à 10:43 +0100, Matija Grabnar a écrit : > I can't seem to get nagios to log performance data. > I tried compiling nagios with --with-default-perfdata and > --with-file-perfdata > separately and together. > > My nagios.cfg file contains the statements: > > process_per

[Nagios-users] Will event broker modules have access to Nagios config?

2005-12-21 Thread Ian Chard
Hi, I've been playing around with a NEB module (yes, I know there's no documentation and I should wait, but I'm an impatient soul), and I'd like to be able to see things like hosts' parents and aliases. Is this/will this information be available to modules? Thanks - Ian -- Ian Chard, Unix & Ne

[Nagios-users] Re: Re: Multiple service extended information objects per service/host?

2005-12-21 Thread Raphaël 'SurcouF' Bordet
Le lundi 20 juin 2005 à 21:28 -0500, Steven Danz a écrit : > Hello > > Thanks for the reply. I figured as much and spent a couple hours and > added the code to the CGIs to allow use of the | character to separate > multiple entries in notes_url, icon_image, and icon_image_alt for > extended in

[Nagios-users] Distributed monitoring problem

2005-12-21 Thread Rob Hassing
Hello all, I'm trying to setup a distributed monitoring system. At the start all looked fine too me, but now I'm having some problems on not receiving all passive checks from other hosts. The machine is a Intel(R) Xeon(TM) CPU 2.40GHz system with 512 MB RAM. The load is minimal. The only strang

[Nagios-users] Juliet Tree/ASHFORD/UK/COTY is out of the office.

2005-12-21 Thread Juliet_Tree
I will be out of the office starting 21/12/2005 and will not return until 22/12/2005. I am away so please contact Mike Procyshyn on 2261 for any urgent issues. Thankyou Thanks. --- This SF.net email is sponsored by: Splunk Inc. Do you gre

[Nagios-users] sms & pager problem ?

2005-12-21 Thread Mehmet Fatih AKBULUT
hi all,please tell me :what is the relation between notify-by-pager and notify-by-sms ?do i have to use notify-by-pager to receive sms notification when using notify-by-sms ???mail works but still couldnt receive any sms notification :( but on konsole sms works ... :(dont know how to tell nagios to

[Nagios-users] Trouble logging performance data

2005-12-21 Thread Matija Grabnar
I can't seem to get nagios to log performance data. I tried compiling nagios with --with-default-perfdata and --with-file-perfdata separately and together. My nagios.cfg file contains the statements: process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_comm

[Nagios-users] No notification sent - what am I doing wrong?

2005-12-21 Thread Eivind Olsen
Hello. I have a server running Nagios v2.0b4. I have configured some test on some hosts. Tonight one of the monitored hosts (monitored through nrpe) had a full filesystem, but no notification email was sent from the Nagios host. It's probably just me doing something wrong, but I can't see wh