Status information never updates

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.
Locked
mksht80
Posts: 1
Joined: Tue Sep 24, 2013 7:45 am

Status information never updates

Post by mksht80 »

Platform: Centos / Nagios Core 3.3.1

I created a plugin for the purposes of just printing output.
It always returns a status OK, with the output consisting of the output from a single command line
which I'd like to view via the nagios web interface in the 'status information'.

My problem is the status information never seems to update in Nagios web interface.
I've also confirmed that var/status.dat also reflects this, since the plugin_output field never
seems to change.

Is this because the state needs to change before the status information is updated?
How can I get the status information to always reflect the output from the last check?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Status information never updates

Post by abrist »

Can you give us an example of the full output of the plugin when run from the cli?
If the script is short, could you post it in *code wraps* as well?
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