Plugin return report NULL

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Plugin return report NULL

Post by abrist »

You may want to run it the following way (to run it as a script, make sure the python script has a properly configured sha-bang!):

Code: Select all

su -s /bin/bash -c '/path/to/your/script' nagios
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked