Yet another TRAP question! Logging!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Yet another TRAP question! Logging!

Post by BanditBBS »

sreinhardt wrote:You sir are correct, damn I hate to admit that in this case. Nick ever ship you off a copy of the new code? It's far from perfect but its much much better than 2.0.
I hate that when running addmib it by default sets everything to NORMAL, would make my life so much easier if it did WARNING by default...but whatever.

Yes, he sent me an email full of instructions to install it. I plan on doing that on a dev server sooner or later. I promised I wouldn't use it in production yet, I don't want to blame it for any issues :) Hoping a stable version of the new one is released soon. I actually sent Nick an email the other day, I imagine he'll reply in the next 2-6 months! LOL You can lock up this thread when we're done.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Yet another TRAP question! Logging!

Post by abrist »

Does NDO continue logging warnings for you? I get state changes, and retries. Once a hard state is reached, it does not log until that changes again.
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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Yet another TRAP question! Logging!

Post by BanditBBS »

abrist wrote:Does NDO continue logging warnings for you? I get state changes, and retries. Once a hard state is reached, it does not log until that changes again.
Here, let me show you:
Capture.PNG
I don't know if this is in NDO or not, I just know if I click that icon to bring up this list, it shows all warning and crits, just not all OK.
You do not have the required permissions to view the files attached to this post.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Yet another TRAP question! Logging!

Post by abrist »

So you are not logging any OKs at all? Even when the state changed to OK from a different HARD status?
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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Yet another TRAP question! Logging!

Post by BanditBBS »

abrist wrote:So you are not logging any OKs at all? Even when the state changed to OK from a different HARD status?
Those would be logged, but they don't come for this device. These ones would have all been OK as well if I hadn't changed the snmptt.conf file. And technically all OKs are all logged, as I can see them in event viewer :)
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Yet another TRAP question! Logging!

Post by abrist »

Yeah, they are logged to nagios.log, but not to the nagios mysql database by way of NDO.
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