(No output returned from plugin)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: (No output returned from plugin)

Post by scottwilkerson »

maexware-dennis wrote:
scottwilkerson wrote:I haven't dug into your full script, but I see this right at the top

Code: Select all

#!/usr/bin/php

<?php
the blank line is going to give you a blank line of output right at the beginning of the script which is what Nagios will see as the first link of output and CANNOT be blank

I would recommend changing that to

Code: Select all

#!/usr/bin/php
<?php
This fixed it for me. Thank you :)
Great!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: (No output returned from plugin)

Post by scottwilkerson »

Great!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked