[Nagiosplug-devel] PHP as script language for plugins
Paa.listas
paa.listas at gmail.com
Tue Jul 31 12:49:33 CEST 2007
Thanks you very much. That blank line was the source of the problem!!!
Now its works fine.
Saludos. Pablo.
# -----Mensaje original-----
# De: nagiosplug-devel-bounces at lists.sourceforge.net [mailto:nagiosplug-
# devel-bounces at lists.sourceforge.net] En nombre de Thomas Guyot-Sionnest
# Enviado el: Lunes, 30 de Julio de 2007 02:56 p.m.
# Para: Nagios Plugin Development Mailing List
# Asunto: Re: [Nagiosplug-devel] PHP as script language for plugins
#
# > -----Original Message-----
# > Sent: July 28, 2007 11:27
# > To: nagiosplug-devel at lists.sourceforge.net
# > Subject: [Nagiosplug-devel] PHP as script language for plugins
# >
# > Hello,
# >
# > I am new to Nagios and more new to writing plugins for it. I am train
# to code one in PHP, but I always receive this answere in the Nagios front-
# > end:
# >
# > Status Information: (No output returned from plugin)
#
#
# I've been using PHP plugins without any problems... When you run it do you
# see any blank line before the output? I'm not a php programmer but I guess
# the blank line before "<?php" would normally be printed... That would fool
# Nagios as it only captures the first line of output.
#
# If that's not the issue try running your plugin as the Nagios user to see
# if there's anything wrong.
#
# Thomas
More information about the Devel
mailing list