hosted by liquidweb


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

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
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
maxihost maxihost is offline
Web Hosting Guru
 
Join Date: May 2002
Posts: 309

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]#

__________________
MaxiHost - Brazilian Datacenters

We have the BEST price for External cPanel licenses with INSTANT activation. Check it out,
http://cpanel.maxihost.com.br

Reply With Quote


Sponsored Links
  #2  
Old 07-07-2006, 09:15 PM
maxihost maxihost is offline
Web Hosting Guru
 
Join Date: May 2002
Posts: 309
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
}

__________________
MaxiHost - Brazilian Datacenters

We have the BEST price for External cPanel licenses with INSTANT activation. Check it out,
http://cpanel.maxihost.com.br

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
50a15988-a0c4-496f-82a7-73d945a799bf Listing 2013-03-05 18:23:09
Opscode Chef Cloud Software Partners with Terremark, Rackspace, Other Cloud Hosts Web Hosting News 2012-05-16 11:14:16
OpenSRS Joins Parallels Domain Name Network Web Hosting News 2012-02-15 16:52:37
SSL Certificate Supplier The SSL Store Offers Plug-and-Play Solution Web Hosting News 2011-09-16 16:41:58
WordPress Forces Password Reset After Suspicious Activity on Plugins Detected Web Hosting News 2011-06-22 14:56:47


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?