Exchange server "Core and Blacklist"
-
Mark Hoogenkamp
- Posts: 11
- Joined: Thu Dec 29, 2011 3:04 am
Exchange server "Core and Blacklist"
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??
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??
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Exchange server "Core and Blacklist"
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...
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...
-
Mark Hoogenkamp
- Posts: 11
- Joined: Thu Dec 29, 2011 3:04 am
Re: Exchange server "Core and Blacklist"
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.
Thnks for the support. It loads a whole list of commands to check but not all of them are needed.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Exchange server "Core and Blacklist"
Glad to hear you got it working well.
-
Mark Hoogenkamp
- Posts: 11
- Joined: Thu Dec 29, 2011 3:04 am
Re: Exchange server "Core and Blacklist"
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.
i guess that the issue is that we use a smarthost instead of using our DNS to send e-mail.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Exchange server "Core and Blacklist"
Oh yeah, I wouldn't monitor that then...
Re: Exchange server "Core and Blacklist"
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:
I get this error:
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' nagiosCode: 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"
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:
And now the command works!
For the pre-build VM I had to run this:
Ran this:
Code: Select all
yum install perl-Net-DNS.x86_64For the pre-build VM I had to run this:
Code: Select all
yum install perl-Net-DNS.i686-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Exchange server "Core and Blacklist"
Thanks for the heads up.
We'll take a look at the wizard for future releases
We'll take a look at the wizard for future releases