Re: [Nagios-users] How to customize nagios alerts?

2012-09-17 Thread Aravinth Anto
On Mon, Sep 17, 2012 at 7:34 AM, PRA nagios...@gmail.com wrote: if your echo statement has $stacktrace it will print that only till to the limit Additional Info field. NAGIOS gets string and return code from its plugins.String is to print the message and return code is to identify the type

Re: [Nagios-users] How to customize nagios alerts?

2012-09-16 Thread PRA
if your echo statement has $stacktrace it will print that only till to the limit Additional Info field. NAGIOS gets string and return code from its plugins.String is to print the message and return code is to identify the type of alert (ok,warning,critical). So as long as you send it to

[Nagios-users] How to customize nagios alerts?

2012-09-14 Thread Aravinth Anto
Hello all, I wish to customize my email alerts that is sent by Nagios. Say for example, I want to send the email along with error trace of Tomcat which caused the exception. Are there any ways to do it? Thanks in advance.

Re: [Nagios-users] How to customize nagios alerts?

2012-09-14 Thread Giorgio Zarrelli
Have a look at The notification scripts and change them. Ciao, Giorgio Il giorno 14/set/2012, alle ore 15:52, Aravinth Anto t-aravi...@juspay.in ha scritto: Hello all, I wish to customize my email alerts that is sent by Nagios. Say for example, I want to send the email along with error

Re: [Nagios-users] How to customize nagios alerts?

2012-09-14 Thread Aravinth Anto
Hi , Thanks for the reply. I have attached my script. And if I say I'm returning the stack trace from my script, how come Nagios will know that? I can name the hole stack trace a name and can use $stacktrace in nagios will work? Thanks in advance. On Sat, Sep 15, 2012 at 12:31 AM, PRA