Re: Re:Macros used in nagios!

Stanley Hopcroft <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Dear Sir,


Two solutions spring to mind

On Wed, Sep 11, 2002 at 01:06:26PM +0200, irfaan wrote:
> Hi again!
> How do i add my own macros, for example if i want to add a "cellphone 
> number" to the contacts  config file.
> 

1 Modify the source to accept your new macros

2 if you really only want to send pages/SMS messages, consider an email
--> SMS gateway and in the contact definition have the contact address
as something like <Phone_Number_Token>.page (eg in Australia
61414582663.page).

In my employers case these look like,

contact[mainframe]=Mainframe SMS
group;24x7;24x7;1;1;0;1;1;0;notify-by-epager;host-notify-by-epager;;mainframe.page
contact[networks]=Networks SMS
group;24x7;24x7;1;1;0;1;1;0;notify-by-epager;host-notify-by-epager;;networks.page

because the email --> SMS gateway has an address book facility that
equates a string like 'networks' to the duty officer responsible for
networks.

Yours sincerely.

-- 
Stanley Hopcroft



CHANGING OF THE GUARDS

Sixteen years,
Sixteen banners united over the field
Where the good shepherd grieves.
Desperate men, desperate women divided,
Spreading their wings 'neath the falling leaves.

Fortune calls.
I stepped forth from the shadows, to the marketplace,
Merchants and thieves, hungry for power, my last deal gone down.
She's smelling sweet like the meadows where she was born,
On midsummer's eve, near the tower.

The cold-blooded moon.
The captain waits above the celebration
Sending his thoughts to a beloved maid
Whose ebony face is beyond communication.
The captain is down but still believing that his love will be repaid.

They shaved her head.
She was torn between Jupiter and Apollo.
A messenger arrived with a black nightingale.
I seen her on the stairs and I couldn't help but follow,
Follow her down past the fountain where they lifted her veil.



-------------------------------------------------------
In remembrance
www.osdn.com/911/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.