Re: [Nagios-users] nagios not sending sms through gnokii

2009-01-09 Thread fernando renegado
Hi Jon, I just followed the following: i did "su nagios", ran the script and the errors popped out: ~# su nagios $ /usr/bin/sms_gnokii GNOKII Version 0.6.27 Couldn't read /home/nagios/.gnokiirc config file. Couldn't read /home/nagios/.gnokiirc config file. Couldn't read /etc/gnokiirc config file.

[Nagios-users] nagios 3.0.5 email notifications fail

2009-01-09 Thread alex alex
Hi all, I have nagios 3.0.5 installed and it seems that it is working ok but no notifications are sent. Instead, in /home/nagios/dead.letter the messages keep arriving. The problem seems to be due to mail headers : "From nagios Fri Jan 9 09:38:31 2009 Return-Path: Received: (from nag...@localhos

[Nagios-users] nagiosgraph insert.pl problems with chek_nt!USEDDISKSPACE

2009-01-09 Thread Ingar Smedstad
Hello, I have recently installed nagiosgraph and have encountered a small problem. the error log is growing quite fast with messages like this: Fri Jan 9 10:25:20 2009 $RCSfile: insert.pl,v $ $Revision: 1.25 $ error - RRDs::update ERR /usr/local/etc/nagios/nagiosgraph/rrd/lys-dc01/C%3A%5C%20O

[Nagios-users] accessing a remote kannel sms gateway for a Nagios box

2009-01-09 Thread KK CHN
How can I configure my nagios box to send sms through a kannel sms gateway setup which is on another PC. Note : both nagios & kannel box in the same network.. from My nagios box , I can send sms through web browser (here http://10.18.1.10 is the kannel gateway box ) http://10.18.1.10:1

Re: [Nagios-users] nagiosgraph insert.pl problems withchek_nt!USEDDISKSPACE

2009-01-09 Thread Edgar Matzinger
Hi Ingar, > - RRDs::update ERR > /usr/local/etc/nagios/nagiosgraph/rrd/lys- > dc01/C%3A%5C%20OS___ntdisk.rrd: > expected 4 data source readings (got 4) from 1231493108 > > In Nagios all looks fine though: > > Performance Data: 'c:\ Used Space'=6.38Gb;23.99;26.99;0.00;29.99 how was the RRD

Re: [Nagios-users] nagios 3.0.5 email notifications fail

2009-01-09 Thread Marc Powell
On Jan 9, 2009, at 4:52 AM, alex alex wrote: > Subject: ** Service Alert: ITM_M._Ciuc/is_alive is OK **" This is a service alert. > Somehow it seems that no user address is found (or the address $ is > used ). Also, the mail log says the same thing: > > define contact { > [snip] >

Re: [Nagios-users] nagios 3.0.5 email notifications fail

2009-01-09 Thread alex alex
ok, I get the service and not the host email from dead.letter. My mistake. Here's the host one: >From nagios Fri Jan 9 16:12:31 2009 Return-Path: Received: (from nag...@localhost) by localhost.localdomain (8.14.1/8.14.1/Submit) id n09ECVcx011087 for $; Fri, 9 Jan 2009 16:12:31 +0

Re: [Nagios-users] Could not complete ssl handshake

2009-01-09 Thread Jayson Broughton
Harry, There are afew thing you can check that cause this problem. 1. Check versions of the nrpe on both the server and the client 2. Did you install check_nrpe from source or rpm? You might want to check if one is compiled with ssl support and the other isn't compiled for SSL su

Re: [Nagios-users] downtime large number of hosts?

2009-01-09 Thread Jayson Broughton
We have some linux servers here that peg-out on CPU/Mem when they are doing a full backup, so I have used the wonderful 'Nagios External Command List' website to custom tailor my alert notifications for hosts/hostgroups every day during a certain time. Specifically the DISABLE_HOST_SVC_NOTIFICATIO

Re: [Nagios-users] nagios 3.0.5 email notifications fail

2009-01-09 Thread Marc Powell
On Jan 9, 2009, at 8:42 AM, alex alex wrote: > I will try to see the error in command. I already use a modified > command > > define command { > command_namenotify-host-by-email > command_line /usr/bin/printf "%b" > "Host: $HOSTNAME$\

Re: [Nagios-users] Elevated alerts

2009-01-09 Thread Grant Lowe
Thank you for the response. I like your idea. I think I need to embellish it some. A couple of questions about it. In our environment, I think I only have to make one change. Here's what currently happens. A regular email goes to u...@company.com, but pages go to u...@pager.company.com. S

Re: [Nagios-users] Elevated alerts

2009-01-09 Thread jmoseley
You wouldn't need to modify the notify-by-pager command you already have setup. After all, you are still sending mail to an email address. I don't know why your command definitions have @mail_p...@. That must be defined someplace else in another config file if it's working. If that command isn'

Re: [Nagios-users] nagios 3.0.5 email notifications fail

2009-01-09 Thread alex alex
Hi again, I've just disabled events handler. I think youwere right. The dead emails were from events handler, not from notifications. No new notifications failed in letter.dead It seems that in event handler, the $CONTACTEMAIL$ is not set. But now, even stranger, no notification is sent. I mean I e

Re: [Nagios-users] Elevated alerts

2009-01-09 Thread Grant Lowe
Ok. That helps. I'll replace the @MAIL_PROG@ with /bin/mail. Then where is $CONTACTEMAIL$ defined, so I can add a new variable which I think will be $CONTACTPAGER$, to replace the $CONTACTEMAIL$ in the command definitions? - Original Message From: "jmose...@corp.xanadoo.com" To: G

Re: [Nagios-users] Elevated alerts

2009-01-09 Thread jmoseley
If the email address begins with a number, then use $CONTACTPAGER$ string. I don't know exactly where those variables are defined, but when sending email to an address that begins with a number (or perhaps contains an all-numeric string before the @), I've found that the notification is not sent if

[Nagios-users] Servicegroups bug?

2009-01-09 Thread Matthew Shanker
I'm running Nagios 3.0.5 and I'm having some inconsistent behaviour with servicegroups. If I use the following: define service { use important-service hostgroup_namelinux-servers,linux-desktops,!legacy-systems service_description NFS check_command chec

[Nagios-users] Next Scheduled Check tooo far away

2009-01-09 Thread Gabriel Sosa
Hi folks I'm using the check_mysql_perf plugin to check the mysql replica status. today the replica had broken but nagios didn't alert me, so I went to the panel to check and realized that for this service the "Next Scheduled Check" will be on 2009-01-09 14:19:00 all config are by default, and

Re: [Nagios-users] accessing a remote kannel sms gateway for a Nagios box

2009-01-09 Thread Ian Orszaczki
Hi, one way (the way we use) is to have Nagios call an SMS perl (or php, python, etc) script which posts to the webpage. On Fri, Jan 9, 2009 at 10:50 PM, KK CHN wrote: > How can I configure my nagios box to send sms through a kannel sms > gateway setup which is on another PC. > > Note : bo

[Nagios-users] check_ping stuck on 'PENDING'

2009-01-09 Thread ibloodyhatespam
As per the subject... Nagios 3.0.6 and it happens both to lan and external servers. Temporarily disabling the firewall has no effect. Manually forcing a check update results in the 'service check scheduled for' notification being bumped to current time + 5 mins, no actual check and the check st

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-09 Thread Marc Powell
On Jan 9, 2009, at 4:48 PM, wrote: > As per the subject... Nagios 3.0.6 and it happens both to lan and > external servers. > As ping’s a very basic check and as far as I can see everything > should work normally, right now I’m stumped. Any idea what's going > on here? Actual config inf

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-09 Thread Robert Yeo
Having the same problem with different services then check_ping. The states are stuck in PENDING and even a manual force check doesn¹t help. Some boxes are returning fine (they are included in the same service definition), but others are not. Command line always works. I have tried clearing th

Re: [Nagios-users] nagios 3.0.5 email notifications fail {Spam?}

2009-01-09 Thread Marc Powell
On Jan 9, 2009, at 11:26 AM, alex alex wrote: > Hi again, > I've just disabled events handler. I think youwere right. The dead > emails were from events handler, not from notifications. No new > notifications failed in letter.dead It seems that in event handler, > the $CONTACTEMAIL$ is not

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-09 Thread Robert Yeo
This is an example config for one of the services. Please let me know if I am missing any info. # Finearts Nagios 2 Server define host{ host_nameDgh_000_012_FairUse aliasFinearts Nagios 2 Server (fairuse.music.utah.edu) address 155.97.55.12

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-09 Thread jmoseley
I don't see a service definition for 'server-high-priority', nor do I see where you are employing a check_ping operation, nor have you included the check_period config for 24x7. James Moseley Robert Yeo

Re: [Nagios-users] check_ping stuck on 'PENDING'

2009-01-09 Thread ibloodyhatespam
Funny thing is doing a new round of digging led me to the cause, thanks for that :) There seems to be a problem with service dependencies, disabling that cfg results in working checks again. Guess I'll have to take that config file apart tomorrow. -Original Message- From: Marc Powell [mai

Re: [Nagios-users] nagios not sending sms through gnokii

2009-01-09 Thread Jon Angliss
On Fri, 9 Jan 2009 17:17:04 +0800, "fernando renegado" wrote: >Hi Jon, >I just followed the following: > >i did "su nagios", ran the script and the errors popped out: > >~# su nagios >$ /usr/bin/sms_gnokii >GNOKII Version 0.6.27 >Couldn't read /home/nagios/.gnokiirc config file. >Couldn't read /h