[BUG] Missing new line in cmd.cgi [3.0.5]

Hendrik Bäcker andurin at process-zero.de
Thu Nov 6 12:22:35 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Olivier Beytrison schrieb:
> Hi there,
>
> I juste upgraded nagios to 3.0.5 and discovered a little bug with
> the command cgi.
>
> If you want to submit a command (like Disable notifications for all
>  services on this host) and you check "Disable notification for
> host too", the command is not correctly sent to Nagios.
>
> Here's the logfile result (:
>
> [1225963577] EXTERNAL COMMAND:
> ENABLE_HOST_SVC_NOTIFICATIONS;hesidp[1225963577]
> ENABLE_HOST_NOTIFICATIONS;hesidp
>
> As you can see, there's a missing new line, thus making 2 commands
> on one line, and unreadable for nagios.
>
> I saw that the code of cgi/cmd.c has been changed, I tried to
> simply add a \n in the cmd_submitf() function, but didn't work.
>
> could you please look into this problem, and submit a patch ?
Thanks for the report. I've just queued it in the beta tracking system
and I'll have a look at it.
Since we're actual just playing with tracking upcoming bugs, please
understand that it isn't public viewable at the moment..

I guess this behavior went in with the security patches causing the
3.0.5 release.

- -
Hendrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
 
iD8DBQFJEtN7lI0PwfxLQjkRAjJyAJwMFDhlYBjGmxPYVLF4txJCAkfVoACdExS1
XSEYaWbp36xMaXWmxVnQwVY=
=EjXy
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/




More information about the Developers mailing list