Page 1 of 1

Exchange server "Core and Blacklist"

Posted: Thu Dec 29, 2011 4:36 am
by Mark Hoogenkamp
Goodmorning to you all.

I'm Mark and new with installing Nagios. i followed the brief descriptions and there it was. A brand new server in a VMWare ESXi environment and working like a charm.

Except one thing is strange, i have two items here that Nagios can't check. The server self is UP and running, all green OK except these two here.


Or it's checking but status is Critical. I don't know, maybe there's somebody here that's able to help me out??

Re: Exchange server "Core and Blacklist"

Posted: Thu Dec 29, 2011 11:17 am
by scottwilkerson
Looking at your picture, I can see on the Exchange item, at least 1 item is listed as not started.

I know the Exchange wizard by default loads a huge list of items to check, but you don't have to leave them all in there if you don't use them. As a matter of face, the list is so long that it always gets cut off and you might not be able to see the item that is failing.

I would recommend taking out those that you don't want to use and then maybe splitting the rest into multiple services if they are still too long.

For the blacklist checks, again, it defaults to check a ton of possible blacklists some of which could be down or no longer in operation, you could reduce this list as well to determine the problem...

Re: Exchange server "Core and Blacklist"

Posted: Mon Jan 02, 2012 9:04 am
by Mark Hoogenkamp
I deleted the items that weren't started according these checks above and it became "Green."

Thnks for the support. It loads a whole list of commands to check but not all of them are needed.

Re: Exchange server "Core and Blacklist"

Posted: Mon Jan 02, 2012 1:14 pm
by scottwilkerson
Glad to hear you got it working well.

Re: Exchange server "Core and Blacklist"

Posted: Thu Jan 05, 2012 5:55 am
by Mark Hoogenkamp
It's working now, but the blacklist feature is not working, that's the last thing.

i guess that the issue is that we use a smarthost instead of using our DNS to send e-mail.

Re: Exchange server "Core and Blacklist"

Posted: Thu Jan 05, 2012 10:39 am
by scottwilkerson
Oh yeah, I wouldn't monitor that then...

Re: Exchange server "Core and Blacklist"

Posted: Thu Feb 09, 2012 4:28 pm
by dbeasley
I wanted to chime in that the blacklist not working doesn't have anything to do with smarthosts, the function itself is broken. I've used the pre-built virtual machine and built Nagios XI from scratch and it exists in both instances. The Exchange Wizard introduces a command called "check_bl" and that command is not working.

When I run the check from the command line:

Code: Select all

su -c '/usr/local/nagios/libexec/check_bl -H <snip> -B zen.spamhaus.org' nagios
I get this error:

Code: Select all

Can't locate Net/DNS.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/check_bl line 30.
BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check_bl line 30.

Re: Exchange server "Core and Blacklist"

Posted: Thu Feb 09, 2012 4:39 pm
by dbeasley
Well - my last message hasn't appeared yet because of this moderation system... but I just found the fix! (and I know so little about Linux)

Ran this:

Code: Select all

yum install perl-Net-DNS.x86_64
And now the command works!

For the pre-build VM I had to run this:

Code: Select all

yum install perl-Net-DNS.i686

Re: Exchange server "Core and Blacklist"

Posted: Fri Feb 10, 2012 7:57 am
by scottwilkerson
Thanks for the heads up.

We'll take a look at the wizard for future releases