Search found 7 matches

by j1johnson
Wed Mar 12, 2014 3:39 pm
Forum: Open Source Nagios Projects
Topic: Error with custom service macros and event handling.
Replies: 12
Views: 4085

Re: Error with custom service macros and event handling.

Well, progress has been made! Here are the services: _SERVICE restart_sw114 _CLASSIFICATIONID SC_WORKFLOW_PORTAL _HIERARCHYPATH SC_APP_SYS "\\" SC_WORKFLOW_PORTAL _CLASSSTRUCTUREID 5642 _DESCRIP 'sw114 DeltaSession Manager has stopped running.' _FR1CODE 'Unknown - code issue.' _FR2CODE 'Re...
by j1johnson
Wed Mar 12, 2014 12:21 pm
Forum: Open Source Nagios Projects
Topic: Error with custom service macros and event handling.
Replies: 12
Views: 4085

Re: Error with custom service macros and event handling.

I'm trying to integrate with Maximo . There are built-in SOAP and REST services and I'm using their SOAP WSDL to create, update and then close Incident tickets that Nagios handles automatically through event handlers. If I were just opening tickets, it wouldn't be problem. But because I'm also closi...
by j1johnson
Tue Mar 11, 2014 4:08 pm
Forum: Open Source Nagios Projects
Topic: Error with custom service macros and event handling.
Replies: 12
Views: 4085

Re: Error with custom service macros and event handling.

So I tried a lot of different ways to escape it and failed courageously over and over. However, these settings worked: _CLASSIFICATIONID SC_WORKFLOW_PORTAL _HIERARCHYPATH SC_APP_SYS-SC_WORKFLOW_PORTAL _CLASSSTRUCTUREID 5642 _DESCRIPTION Description_Specifics _FR1CODE FR1CODE_Specifics _FR2CODE FR2CO...
by j1johnson
Tue Mar 11, 2014 2:36 pm
Forum: Open Source Nagios Projects
Topic: Error with custom service macros and event handling.
Replies: 12
Views: 4085

Re: Error with custom service macros and event handling.

When I make changes to how the custom macros are escaped, I can get a few more pieces to show up: New Custom services: _CLASSIFICATIONID SC_WORKFLOW_PORTAL _HIERARCHYPATH \""SC_APP_SYS \\\ SC_WORKFLOW_PORTAL\"" _CLASSSTRUCTUREID 5642 _DESCRIPTION \""sw114 DeltaSession M...
by j1johnson
Tue Mar 11, 2014 2:09 pm
Forum: Open Source Nagios Projects
Topic: Error with custom service macros and event handling.
Replies: 12
Views: 4085

Re: Error with custom service macros and event handling.

Here's the command

Code: Select all

echo "$#" > /tmp/vars.txt
Here's the response:
34
by j1johnson
Mon Mar 10, 2014 7:31 pm
Forum: Open Source Nagios Projects
Topic: Error with custom service macros and event handling.
Replies: 12
Views: 4085

Re: Error with custom service macros and event handling.

First attempt of this command: echo "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" "$10" "$11" "$12" "$13" "$14" "$15" "$16" > /tmp/var.txt Re...
by j1johnson
Mon Mar 10, 2014 4:01 pm
Forum: Open Source Nagios Projects
Topic: Error with custom service macros and event handling.
Replies: 12
Views: 4085

Error with custom service macros and event handling.

Hello! I'm working on implementing an event handler that would create a trouble ticket with an external ticketing system when a service was in a CRITICAL state. Because of how the ticket system works, it needs a lot of variables and I've found that the custom _SERVICE macros can fill that role nicel...