Re: [Nagios-devel] Notification option

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Notification option

Post by Guest »

Dear Sir,

I am writing to thank you for your letter and say,

On Fri, Jan 31, 2003 at 12:43:38PM -0800, Jeremy T. Bouse wrote:

> This could
> then be setup to work with a pager or SMS system to only notify the
> person that is on "call" duty...
>

that I think it is already possible to do this in an SMS context

1 provide a contact to Nag with a symbolic name, 'networks_on_call'
perhaps

2 have your SMS delivery mechanism (mail to SMS gateway) lookup the
contact names in a phone book

3 Have the 'phone book' facility recognise that should the contact name
be the symbolic name (of an oncall number), it should then consult a
second data source that contains the current individual name of the on-
call contact and then look that name in the phone book

In our case, the phone book is an LDAP accessible directory that's made
available as (apparently) a giant Perl hash of 'user_names' keys and
phone numbers through the Perl tie facility and Net::LDAP.

The on call identities are stored in the file system and modified with a
fill out form that invokes an scp or an ssh echo new_on_call_id >
oncall_file.txt.

> Jeremy

I think this is easier to do than to say. It's something like a phone
book with one level of indirection (for oncall names).

Yours sincerely.



--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked