Exchange Databases Unknown after editing .cfg file

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Exchange Databases Unknown after editing .cfg file

Post 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
billperrotta
Posts: 115
Joined: Fri Feb 21, 2014 11:44 am

Re: Exchange Databases Unknown after editing .cfg file

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Exchange Databases Unknown after editing .cfg file

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Exchange Databases Unknown after editing .cfg file

Post 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.
billperrotta
Posts: 115
Joined: Fri Feb 21, 2014 11:44 am

Re: Exchange Databases Unknown after editing .cfg file

Post 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?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Exchange Databases Unknown after editing .cfg file

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked