Awesome, thanks. I have the service running. My running state is "1". I want to set critical to "0". when i do that Nagios reports my state as critical. This is obviously due to 1 being greater the 0. is there a way i can set the critical to go off for any value other the 1?
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.
I have another SNMP string i am pulling but the output is very odd. I would like the graph to report an integer and not the c value, by this i mean i would like to see "65" instead of "65c". Is that possible?
You do not have the required permissions to view the files attached to this post.
That is actually working as expected as the "<value>c" is a counter. It does seem that it is graphing correctly, is that right?
You would have to create a wrapper script to remove the c, but that would actually be a bad idea as that is detected by the process perfdata scripts so that the perfdata is treated as a counter instead of a pure value.
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.
The <value>c doesn't bother be all that much but if you look at the graph and the gauge they do not match. the current value was 62c but the graph shows .012c. I would like the graph to show 62c.
Also if i set an alarm i would specify "-w 70c -c 95c" correct?
You should not have to us the "c" suffix at all for the thresholds, just "-w 70 -c 95" should suffice.
The issues with the gauge are quite odd. Can you post the pure output (including performance data) from the check? (running a test check from the CCM should output the entire string)
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.