I'm sorry Abrist... just a bit confused.
Why does Nagios provide macros to which there are no corresponding objects for in the MIB file?
Thanks,
-klee
macros return as $
Re: macros return as $
I don't have the answer to this question - but I can make a guess: Because the the mibs were developed many years ago for a minimal number of macros. In the case of HOSTSTATE and HOSTSTATEID they essentially report the same information, just one in text, and the other in integers:klee wrote: Why does Nagios provide macros to which there are no corresponding objects for in the MIB file?
http://nagios.sourceforge.net/docs/3_0/ ... oststateid$HOSTSTATE$ A string indicating the current state of the host ("UP", "DOWN", or "UNREACHABLE").
$HOSTSTATEID$ A number that corresponds to the current state of the host: 0=UP, 1=DOWN, 2=UNREACHABLE.
You could always open a feature request on github for new macros and we can look at updating the mib: https://github.com/nagios-plugins/nagios-mib
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.
"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.
Re: macros return as $
Interesting... thank you Abrist.
-klee
-klee
Re: macros return as $
Did that clear things up for you? We do welcome all feature requests, so if this is something you really want to see in Core you can submit the request at tracker.nagios.org
IF that is all I would like to close this thread up. Let us know.
IF that is all I would like to close this thread up. Let us know.
Former Nagios employee
Re: macros return as $
Thanks Tmcdonald,
Somewhat... Looks like we'll have to really study up on the macros in order to get them to work properly.
Yes, please feel free to close this thread.
Much Appreciated.
-klee
Somewhat... Looks like we'll have to really study up on the macros in order to get them to work properly.
Yes, please feel free to close this thread.
Much Appreciated.
-klee