Page 5 of 5

Re: Exchange Databases Unknown after editing .cfg file

Posted: Thu Jun 26, 2014 3:52 pm
by slansing
Yep, the recordings should be on youtube later on, it takes a while to churn it all out and upload it after editing, but take a look here:

http://www.youtube.com/nagiosvideo

Re: Exchange Databases Unknown after editing .cfg file

Posted: Thu Jun 26, 2014 4:11 pm
by billperrotta
Cool thanks. If I get a chance might take a peak.

Still if anyone has any advice on what to comment out to remove "no handler for command -a"
in my mail.cfg or in nsclient.ini.
it would be much appreciated.

Re: Exchange Databases Unknown after editing .cfg file

Posted: Thu Jun 26, 2014 6:33 pm
by Box293
billperrotta wrote:any advice on what to comment out to remove "no handler for command -a" in my mail.cfg
Can you please post your mail.cfg file and we'll see what is needed.

Re: Exchange Databases Unknown after editing .cfg file

Posted: Fri Jun 27, 2014 2:03 pm
by slansing
Taking an excerpt from what I believe to be your mail.cfg, once again as we have stated a few times now, just comment out the service definitions for whatever service is showing that output on the fronted like so:

Code: Select all

#define service{
#use generic-service
#host_name mailserver
#service_description Third Storage Group
#check_command check_nrpe!test_db!3
#notification_interval 30
#notification_options c,r
#servicegroups maildb
#}
That is literally all there is to it, save the file, and verify your configs, then restart nagios.

Re: Exchange Databases Unknown after editing .cfg file

Posted: Fri Jun 27, 2014 4:58 pm
by billperrotta
Which service?

I understand # in front of line

But i have no idea which line is causing it.

It isnt clear as day i am not at work so i even forgot the error.

It was some thing like error -a

What line should i look for?

"No handler for command -a" what command? How do i figure it out?

Or is process of elimination only # one out not that one till it goes away.

If there isn't an easier way?

Re: Exchange Databases Unknown after editing .cfg file

Posted: Sun Jun 29, 2014 2:55 pm
by Box293
Box293 wrote:Can you please post your mail.cfg file and we'll see what is needed.
Once you post this file, we'll be able to point out what service(s) need to be commented out.