gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alerts through Nagios very temperamental


From: Michael Bochner
Subject: Re: Alerts through Nagios very temperamental
Date: Thu, 22 Dec 2011 19:01:20 +1100


Andrew
   Are you using the smsd?   That would resolve the contention problem.

The smsd is a daemon that comes with gnokii, it reads from a mysql database table. 
  Your nagios notification script would  write a row into the table. Meanwhile the smsd scans the table for unsent messages. 
Thats how we do it at my site.

Cheers
  Michael
-----------------------------


On 21/12/2011, at 4:01 AM, Andrew Thompson <address@hidden> wrote:

Hi All,

 

Can anybody help me with Nagios notifications?

 

Basically situation is this

 

Host goes down……….

 

The first notification is a text and email.

 

The text goes to 2 admins.

 

Use Gnokii and a Nokia 6301 to send the texts

 

But now the problem………

 

I don’t get alot of the text messages and from my own digging its because sometimes they are being sent at the exact same second and gnokii must refuse both of them rather than queue them.

 

Example of a scenario taken just 25 minutes ago (notification times)

 

HOST………………….EML ADMIN 1……..EML ADMIN 2..…..TXT ADMIN 1…….TEXT ADMIN 2

 

SWITCH1………………..16:24:37……………..16:24:37………………16:24:37………….…16:24:46

 

With the above both admins received the text message

 

 

 

Then another test on the same host 10 minutes ago threw this out

 

HOST………………….EML ADMIN 1……..EML ADMIN 2..…..TXT ADMIN 1…….TEXT ADMIN 2

 

SWITCH1………………..16:41:09……………..16:41:09………………16:41:09………….…16:41:09

 

With the above neither admin received a text message at all

 

Anybody give me any help?

 

Why sometime does nagios tell gnokii to send 2 messages apart and then other times it tells gnokii to send 2 texts at the exact same moment?

 

Cheers

 

 

Kind Regards

Andrew

 

T: 01386 834000
F: 01386 834100

address@hidden
www.fulgent.co.uk

 


Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication from your computer.

 

_______________________________________________
gnokii-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gnokii-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]