[Nagios-users] Alerts are not generated.

2012-09-14 Thread Aravinth Anto
Hi all, I'm trying to generate an alert for log in tomcat ( I wrote my own plugin ). But I can see the log files of nagios that the alert have been generated but it seems that the mail haven't sent. What all will be reason for it? -

Re: [Nagios-users] Alerts are not generated.

2012-09-14 Thread Aravinth Anto
In my sudo less /var/log/sendEmail file. I see these errors: sendEmail[13886]: ERROR => You must specify a 'from' field! Try --help. sendEmail[13891]: ERROR => You must specify a 'from' field! Try --help. sendEmail[13896]: ERROR => You must specify a 'from' field! Try --help. What does this m

Re: [Nagios-users] Nagios 4: Call for testing

2012-09-14 Thread John Kennedy
On Thu, Sep 13, 2012 at 6:00 PM, Andreas Ericsson wrote: > Yes, you read it right. Nagios 4 is approaching, but it needs your > help to reach the finish-line, so pretty please HELP! > > > Is there a target date for release of Nagios 4? Thanks, John ---

Re: [Nagios-users] Nagios 4: Call for testing

2012-09-14 Thread Andreas Ericsson
On 09/14/2012 02:09 PM, John Kennedy wrote: > On Thu, Sep 13, 2012 at 6:00 PM, Andreas Ericsson wrote: > >> Yes, you read it right. Nagios 4 is approaching, but it needs your >> help to reach the finish-line, so pretty please HELP! >> >> >> > > Is there a target date for release of Nagios 4? Ye

[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 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 trace of Tomcat w

[Nagios-users] Service parents...

2012-09-14 Thread Andreas Ericsson
... have arrived. The intention (and the way they currently work) is that they remove the need for servicedependencies like this: define servicedependency { host_name A service_description Foo dependent_host_name B dependent_service_descrip

[Nagios-users] check_http throwing 141 exit on ssl error

2012-09-14 Thread Mike Lindsey
I'm typically used to seeing this kind of error code for a missing plugin, but I've got a device that is accepting tcp connections and then due to a local misconfiguration, immediately closing them. But rather than a normal critical I'm getting: """ (Return code of 141 is out of bounds) """ Whe

Re: [Nagios-users] check_http throwing 141 exit on ssl error

2012-09-14 Thread Justin T Pryzby
This may be unrelated to the question of why it's exiting with a nonstandard, out of range exit status, but is port 83 really HTTP over SSL? It seems as if the plugin sent an ssl initiation, and the remote side closed the connection (perhaps because it wasn't ssl?). Later, the plugin tried to gra

Re: [Nagios-users] Alerts are not generated.

2012-09-14 Thread PRA
Do you see the service notification generated in the logs? -P On 9/14/2012 4:45 PM, Aravinth Anto wrote: Hi all, I'm trying to generate an alert for log in tomcat ( I wrote my own plugin ). But I can see the log files of nagios that the alert have been generated but it seems that the mail h

Re: [Nagios-users] check_http throwing 141 exit on ssl error

2012-09-14 Thread Andreas Ericsson
On 09/14/2012 08:09 PM, Mike Lindsey wrote: > I'm typically used to seeing this kind of error code for a missing > plugin, but I've got a device that is accepting tcp connections and then > due to a local misconfiguration, immediately closing them. > > But rather than a normal critical I'm getting

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

2012-09-14 Thread PRA
The script shoud generate two types of out put (return code and text ), If the can be anything if you pass the stack trace to text it would print that only in the alerts -S On 9/14/2012 7:22 PM, Aravinth Anto wrote: Hello all, I wish to customize my email alerts that is sent by Nagios. Say fo

Re: [Nagios-users] Nagios 4: Call for testing

2012-09-14 Thread Assaf Flatto
On 13/09/12 23:00, Andreas Ericsson wrote: > Yes, you read it right. Nagios 4 is approaching, but it needs your > help to reach the finish-line, so pretty please HELP! > > Right now, config parsing is a lot quicker. Check execution is > done through workers, except on-demand host chekc execution, w

Re: [Nagios-users] check_http throwing 141 exit on ssl error

2012-09-14 Thread Mike Lindsey
On 9/14/12 11:25 AM, Justin T Pryzby wrote: > This may be unrelated to the question of why it's exiting with a > nonstandard, out of range exit status, but is port 83 really HTTP over > SSL? It seems as if the plugin sent an ssl initiation, and the remote > side closed the connection (perhaps beca

Re: [Nagios-users] Nagios 4: Call for testing

2012-09-14 Thread Daniel Wittenberg
https://nagios.svn.sourceforge.net/svnroot/nagios/nagioscore/trunk Dan Doing the svn check out , i get a svn dump of all nagios versions except 4 , and browsing the svn shows no trace of the nagios4 branch . Can you specify the exact branch to check out ? -

Re: [Nagios-users] [Nagios-devel] Nagios 4: Call for testing

2012-09-14 Thread Daniel Wittenberg
First build of the RPM's are below. So far we've been using them during testing but not in any kind of production environment so let me know if any issues/changes. https://github.com/dwittenberg2008/nagios/tree/master/rpms Dan On Sep 13, 2012, at 5:52 PM, Daniel Wittenberg wrote: RPM's for

Re: [Nagios-users] Alerts are not generated.

2012-09-14 Thread Luo Li
The sendEmail is required an sender。you must special the option: -f FYI: http://caspian.dotconf.net/menu/Software/SendEmail/ On Sat, Sep 15, 2012 at 2:48 AM, PRA wrote: > Do you see the service notification generated in the logs? > > -P > > > > On 9/14/2012 4:45 PM, Aravinth Anto wrote: > > H

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 wrote: >