NCPA Agent log errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jwuerflein
Posts: 6
Joined: Wed Apr 29, 2015 2:02 pm

Re: NCPA Agent log errors

Post by jwuerflein »

Thanks. Yes, seems like its working now... wondering about log and log rotation and size. Hopefully the rest can be fixed and is more cosmetic.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NCPA Agent log errors

Post by tgriep »

You could put these 2 lines back in the config file. I was checking to see if the error would change or go away.

Code: Select all

logmaxmb = 20
logbackups = 10
Be sure to check out our Knowledgebase for helpful articles and solutions!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NCPA Agent log errors

Post by ssax »

Those directives will work properly, I just validated on my machine.

I looked in the code and I see what is happening, basically the code says:
"Hey, get me all the commands from the config file under the section 'passive checks'"
For whatever reason it's returning the commands under the passive checks section like it's supposed to but is also including the information under the passive section were those directives are set and it's trying to process them as commands and of course they aren't.

You can safely ignore those errors.
Locked