Hi all,
Just wonder there is a way to change status on server details from ok to actual value???
Change status from ok to actual value
Re: Change status from ok to actual value
"Actual value" means different things to different people. Checking memory usage generally means percentage free, but checking time to resolve a web page means seconds (or milliseconds). This information is included in the extended status information returned by the Nagios plugin, and is generally displayed on the screen along with the OK, WARNING, or CRITICAL.
Nagios only really pays attention to one return value from the plugin: zero, one, or two (OK, WARNING, and CRITICAL). It then takes any output from the plugin and displays it as status information.
You can learn more at https://assets.nagios.com/downloads/nag ... inapi.html
So basically, the result will always be OK, WARNING, or CRITICAL, but a well-written plugin should show you the actual results as well.
Nagios only really pays attention to one return value from the plugin: zero, one, or two (OK, WARNING, and CRITICAL). It then takes any output from the plugin and displays it as status information.
You can learn more at https://assets.nagios.com/downloads/nag ... inapi.html
So basically, the result will always be OK, WARNING, or CRITICAL, but a well-written plugin should show you the actual results as well.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Change status from ok to actual value
Thanks @eloyd!
@Sydnguyen - does this answer your question?
@Sydnguyen - does this answer your question?
Former Nagios Employee