[rt-users] RT::Extension::Nagios

Giuseppe Sollazzo gsollazz at sgul.ac.uk
Mon Jun 20 10:31:07 EDT 2011


Hi all,
I'm trying to get RT::Extension::Nagios to work but I'm stuck and I 
can't totally understand why as there's nothing in the logs.

My RT_SiteConfig.pm looks like this in the relevant bits:

Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::LDAPImport 
RT::Extension::Nagios));
Set($NagiosSearchAllQueues, 0); # true
Set($NagiosMergeTickets, 1); # merged to the newest ticket.

As far as I understand this should be enough. Now, the regexp that is 
matched against the subject is
(PROBLEM|RECOVERY|ACKNOWLEDGEMENT)\s+(Service|Host) Alert: 
([^/]+)/?(.*)\s+is\s+(\w+)

and as far as I can understand the match is made only over the subject 
line (i.e. PROBLEM of a given host/service is matched with RECOVERY or 
ACKNOWLEDGEMENT of the same host/service).

I've tried issuing two e-mails with subjects
"PROBLEM Service Alert: sambaserver/sambaserver_root is WARNING"
"PROBLEM Service Alert: sambaserver/sambaserver_root is OK"

but no automatic closure/merge happened. As I said, there's no mention 
in the logs. How can I understand what's going on?

Thanks,
Giuseppe

-- 
____________________________________

Giuseppe Sollazzo
Senior Systems Analyst
Computing Services
Information Services
St. George's, University Of London
Cranmer Terrace
London SW17 0RE

Email: gsollazz at sgul.ac.uk
Direct Dial: +44 20 8725 5160
Fax: +44 20 8725 3583





More information about the rt-users mailing list