LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2004, 06:02 PM   #1
enzo250gto
Member
 
Registered: Oct 2001
Location: Tokyo, Japan
Distribution: Slackware
Posts: 105

Rep: Reputation: 15
ping behind firewall with Nagios


Hello,

I have Nagios setup and monitoring a number of things on my network. It is an awesome tool. However I would like to ping some devices behind a firewall that have internal IPs. Here is what I have on the server which runs Nagios (file /etc/nagios/services.cfg):
Code:
define service{
        use                             generic-service         ; Name of service template to use
        
        host_name                       memphis.server
        service_description             PING-DEVICE
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  novell-admins
        notification_interval           240
        notification_period             24x7
        notification_options            c,r
        check_command                   check_nrpe!check_ping!100.0,20%!500.0,60%
        }
Seems like I have this setup correctly, no? The above is the server which as a real IP for the world.

On the memphis.server I have the nrpe dameon running and the check_ping plugin in the plugin directory. In my Nagios Map it says pending for the device I'm trying to reach behind the firewall.

Do I need a line above for the linux box that is behind the firewall, ie do I need to define a service for the box behind the firewall?

Thanks for any help you may provide.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firewall still responding to ping azebuski Linux - Security 2 01-28-2004 03:05 PM
Ping Blocked Across Firewall mehargags Linux - Networking 2 01-11-2004 03:15 PM
Please help me: Shorewall firewall can only ping out neilcpp Linux - Security 2 10-21-2003 04:24 PM
Problem when Nagios Monitoring runs ping service sanfran49 Linux - Software 0 08-22-2003 01:12 PM
not able to ping beyond the firewall rita100 Linux - Networking 6 12-16-2002 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration