[Nagios-devel] ochp problem
-
Guest
[Nagios-devel] ochp problem
--b1_b83edf618bf315e7ed2b05cf7f81b592
Content-Type: text/plain; charset = "utf-8"
Content-Transfer-Encoding: quoted-printable
Hello list,
I've already posted something about that which is not solved at the =
moment.
This is now on nagios 3.0b4.
Below is two excerpts of my debug file. In first part, this is how a ochp
is handled by nagios. We can see it finish with a null in the command. In
second part is the same for ocsp and it finish with a macro correctly
loaded.
Can someone explain what can be wrong with my ochp processing. The macro
seems to be well processed but the final output is not transmitted to the
commmand.
Thanks
obsessive compulsive host processor command line
[1191227014.189078] [2320.2] [pid=3D27028] Input: =
$USER2$/submit_check_result
$HOSTNAME$ $HOSTSTATEID$ '$HOSTOUTPUT$'
[1191227014.189091] [2320.2] [pid=3D27028] Output:
$USER2$/submit_check_result $HOSTNAME$ $HOSTSTATEID$ '$HOSTOUTPUT$'
[1191227014.189103] [016.2] [pid=3D27028] Raw obsessive compulsive host
processor command line: $USER2$/submit_check_result $HOSTNAME$
$HOSTSTATEID$ '$HOSTOUTPUT$'
[1191227014.189116] [001.0] [pid=3D27028] process_macros()
[1191227014.189128] [2048.1] [pid=3D27028] **** BEGIN MACRO PROCESSING
***********
[1191227014.189141] [2048.1] [pid=3D27028] Processing:
'$USER2$/submit_check_result $HOSTNAME$ $HOSTSTATEID$ '$HOSTOUTPUT$''
[1191227014.189153] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Processing part: ''
[1191227014.189166] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Not currently in =
macro.=C2=A0
Running output (0): ''
[1191227014.189178] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Processing part: =
'USER2'
[1191227014.189195] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Cleaned =
macro.=C2=A0 Running
output (39): '/usr/local/nagios/libexec/eventhandlers'
[1191227014.189208] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Just finished =
macro.=C2=A0 Running
output (39): '/usr/local/nagios/libexec/eventhandlers'
[1191227014.189220] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Processing part:
'/submit_check_result '
[1191227014.189234] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Not currently in =
macro.=C2=A0
Running output (60):
'/usr/local/nagios/libexec/eventhandlers/submit_check_result '
[1191227014.189247] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Processing part: =
'HOSTNAME'
[1191227014.189260] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Cleaned =
macro.=C2=A0 Running
output (68): '/usr/local/nagios/libexec/eventhandlers/submit_check_result
U3RIPC85'
[1191227014.189273] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Just finished =
macro.=C2=A0 Running
output (68): '/usr/local/nagios/libexec/eventhandlers/submit_check_result
U3RIPC85'
[1191227014.189286] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Processing part: ' =
'
[1191227014.189327] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Not currently in =
macro.=C2=A0
Running output (69):
'/usr/local/nagios/libexec/eventhandlers/submit_check_result U3RIPC85 '
[1191227014.189341] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Processing part: =
'HOSTSTATEID'
[1191227014.189355] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Cleaned =
macro.=C2=A0 Running
output (70): '/usr/local/nagios/libexec/eventhandlers/submit_check_result
U3RIPC85 1'
[1191227014.189368] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Just finished =
macro.=C2=A0 Running
output (70): '/usr/local/nagios/libexec/eventhandlers/submit_check_result
U3RIPC85 1'
[1191227014.189381] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Processing part: ' =
''
[1191227014.189394] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Not currently in =
macro.=C2=A0
Running output (72):
'/usr/local/nagios/libexec/eventhandlers/submit_check_result U3RIPC85 1 ''
[1191227014.189407] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Processing part: =
'HOSTOUTPUT'
[1191227014.189422] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Cleaned =
macro.=C2=A0 Running
output (148): '/usr/local/nagios/libexec/eventhandlers/submit_check_result
U3RIPC85 1 'CRITICAL - 10.176.77.85: Host unreachable @ 10.176.77.57. rta
nan, lost 100%'
[1191227014.189435] [2048.2] [pid=3D27028]=C2=A0=C2=A0 Just finished =
macro.=C2=A0 Running
output (148): '/usr/local/nagios/libexec/eventhandlers/submit_check_result
U3RIPC85 1 'CRITICA
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]