hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Nagios plugins
Reply

Forum Jump

Nagios plugins

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Corporate Member
 
Join Date: May 2002
Posts: 363

Nagios plugins


Hello,

I have a working nagios with lots of plugins currently working, although I am getting wierd errors with the last installed plugins:

- check_bl (Plugin that check if IP is listed in spam blacklists)

Nagios shows:

(No output!) (This is being shown on localhost running nagios and in any other IP I try to check)

checkcommands.cfg:

define command{
command_name check_bl
command_line $USER1$/check_bl -H $HOSTADDRESS$ -B sbl-xbl.spamhaus.org,bl.spamcop.net,t1.dnsbl.net.au
}

When I run it through shell it works smoothly:


root@gui [/usr/local/nagios/libexec]# ./check_bl -H 66.98.166.XXX -B sbl-xbl.spamhaus.org,bl.spamcop.net,t1.dnsbl.net.au
Not black-listed
root@gui [/usr/local/nagios/libexec]#

__________________
Guilherme S. Alberto
Cloud and Dedicated Servers hosted in Brazil
en.maxihost.com.br [US]
www.maxihost.com.br [BR]



Sponsored Links
  #2  
Old
Corporate Member
 
Join Date: May 2002
Posts: 363
Sorry, forgot to post the minimal.cfg config:

define service{
use generic-service ; Name of service template to use
host_name XX.mhXX.com
service_description Blacklists
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_options u,c,r
notification_interval 960
notification_period 24x7
check_command check_bl
}

__________________
Guilherme S. Alberto
Cloud and Dedicated Servers hosted in Brazil
en.maxihost.com.br [US]
www.maxihost.com.br [BR]

Reply

Related posts from TheWhir.com
Title Type Date Posted
IT Monitoring Solution Dataloop.IO Granted $800k in Early Seed Funding Web Hosting News 2014-09-29 11:27:45
Cloudbees Drops Runtime PaaS to Focus on Continuous Integration Software Jenkins Web Hosting News 2014-09-11 14:00:04
Automattic Acquires BruteProtect to Block WordPress Brute Force Attacks Web Hosting News 2014-08-26 15:53:37
Parallels Simplifies WordPress Management and Security with Parallels Plesk 12 Web Hosting News 2014-06-26 16:50:35
Admin-Ahead Server Technologies Listing 2014-10-22 09:46:56


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?