Skip Menu |

This queue is for tickets about the RT-Extension-Nagios CPAN distribution.

Report information
The Basics
Id: 84299
Status: resolved
Priority: 0/
Queue: RT-Extension-Nagios

People
Owner: Nobody in particular
Requestors: koltov [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: RT: Scrip Commit 19 died. - Can't call method "SetStatus" on an undefined value at /opt/rt4/local/plugins/RT-Extension-Nagios/lib/RT/Action/UpdateNagiosTickets.pm line 76.
Date: Fri, 29 Mar 2013 20:29:35 -0400
To: bug-RT-Extension-Nagios [...] rt.cpan.org
From: Vitalik <koltov [...] gmail.com>
Hello, I am getting the following error when running a modified nagios extension ( I have zabbix and modified the script) per these instructions: http://requesttracker.8502.n7.nabble.com/Nagios-Plugin-modified-to-do-the-same-for-Zabbix-e-mails-td47094.html In the logs I am getting this error: RT: Scrip Commit 19 died. - Can't call method "SetStatus" on an undefined value at /opt/rt4/local/plugins/RT-Extension-Nagios/lib/RT/Action/UpdateNagiosTickets.pm line 76.#012#012Stack:#012 Any help on resolving this would be greatly appreciated, Respectfully, -Vitaly
I briefly triaged this on #rt. Despite the customizations, the bug still exists in the stock extension. See https://metacpan.org/source/SUNNAVY/RT-Extension-Nagios-0.06/lib/RT/Action/UpdateNagiosTickets.pm#L55 and read for the case when $merge_ticket can remain undef yet have SetStatus called on it.
Subject: Re: [rt.cpan.org #84299] Runtime error when a RECOVERY ticket is seen before a PROBLEM ticket is created (or when a problem ticket can't be found)
Date: Fri, 29 Mar 2013 20:43:46 -0400
To: bug-RT-Extension-Nagios [...] rt.cpan.org
From: Vitalik <koltov [...] gmail.com>
Dear Thomas, How can I remedy this case? Does the workaround exist? Thanks again, -Vitaly On Fri, Mar 29, 2013 at 8:37 PM, Thomas Sibley via RT < bug-RT-Extension-Nagios@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=84299 > > > I briefly triaged this on #rt. Despite the customizations, the bug still > exists in the stock extension. See > https://metacpan.org/source/SUNNAVY/RT-Extension-Nagios-0.06/lib/RT/Action/UpdateNagiosTickets.pm#L55and read for the case when $merge_ticket can remain undef yet have > SetStatus called on it. >
Fixed in 308bb631, which was released in 0.07 - Alex