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

Kevin Falcone falcone at bestpractical.com
Mon Jun 20 10:45:12 EDT 2011


On Mon, Jun 20, 2011 at 03:31:07PM +0100, Giuseppe Sollazzo wrote:
> 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?

Did you run make initdb?  Do you have the On Create Update Nagios
Tickets scrip?  That scrip will log if it matches in the subject.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110620/c571494b/attachment.sig>


More information about the rt-users mailing list