can't call method rows on an undefined value
Posted: Fri May 25, 2018 8:53 am
Hi
I am trying to integrate Nagios with ServiceNow. I am using sn_ticketer.pl plugin.
After the alert is triggered on Nagiosxi, the incident is not getting triggered on ServiceNow.
I am getting an error "can't call method rows on an undefined value". in cd /usr/local/nagios/var/nagios.log.
I tried the suggestions in the post given below. commented lines for dbResults->rows.
https://support.nagios.com/forum/viewto ... 56&start=0
The incident gets created. But when the incident gets closed on service now, there is no way the archived value in the table sn_ticket_tracker gets updated. And when the alert is triggered from same host on same service the second time, it doesnt create new incident in service now.
How do I resolve the error "can't call method rows on an undefined value"
Thanks,
Beena
I am trying to integrate Nagios with ServiceNow. I am using sn_ticketer.pl plugin.
After the alert is triggered on Nagiosxi, the incident is not getting triggered on ServiceNow.
I am getting an error "can't call method rows on an undefined value". in cd /usr/local/nagios/var/nagios.log.
I tried the suggestions in the post given below. commented lines for dbResults->rows.
https://support.nagios.com/forum/viewto ... 56&start=0
The incident gets created. But when the incident gets closed on service now, there is no way the archived value in the table sn_ticket_tracker gets updated. And when the alert is triggered from same host on same service the second time, it doesnt create new incident in service now.
How do I resolve the error "can't call method rows on an undefined value"
Thanks,
Beena