Build precise queries to find exactly what you need
Press ESC to close
I hope you get this message.
The reason why you’re getting different outputs from the browser than what’s in the cli is because you could be using different user accounts for both. From the the browser itself, my best guess is the plugin is being executed as the ‘nagios’ user and you’re using your own user account from the cli.
If you try running the script, from the cli, as the service account that is running Nagios I bet you’ll get the same output that your browser is displaying.
It could have something to do with ‘secfile’. Create/setup one as the service account used by Nagios and you should be set.
#### Nice script btw, this helps a lot in monitoring our storages devices.
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!