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 07-07-2006, 09:14 PM
guisalberto guisalberto is offline
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]

Reply With Quote


Sponsored Links
  #2  
Old 07-07-2006, 09:15 PM
guisalberto guisalberto is offline
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 With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Parallels Simplifies WordPress Management and Security with Parallels Plesk 12 Web Hosting News 2014-06-26 16:50:35
Moboom Taps Responsive and Adaptive Design for New Website Builder and CMS Web Hosting News 2014-02-11 12:07:03
Rackspace Launches Automatic Cloud Scaling Capabilities Web Hosting News 2013-11-21 12:07:13
Jelastic Releases Plugin for Java Development Environment IntelliJ IDEA Web Hosting News 2012-12-05 11:15:46
cPanel Conference 2012: Social Media for Customer Service with Mario Rodriguez Web Hosting News 2012-10-10 15:12:10


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?
Advertisement:
Web Hosting News:



 

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?