Home Directory Plugins Operating Systems Linux Inter server port monitoring

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Inter server port monitoring

Rating
0 votes
Favoured:
0
Current Version
Version 1.0
Last Release Date
2016-06-24
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
6362
Files:
FileDescription
check_net.shcheck_net.sh
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Hi Team,

Plugin will helps you to monitor whether given port is listening between the Server A and Server B or not.
i.e from Server C you can check port listened between Server A to Server B.

Achieved the same by writing two lines of simple code.
Works simple and efficient.

Attached file and steps for same (to newbies like me :D )

Steps:
*************************
Step 1 : Place the file in the below mentioned path of client server(SERVER_A).
/usr/local/nagios/libexec
Note : Please make sure the file has nagios user to execute permission.

Step 2 : Please append the below command in the respective config file.

File path : /usr/local/nagios/etc/nrpe/common.cfg

command[check_net]=/usr/local/nagios/libexec/check_net.sh $ARG1$

Step 3 : Now check from nagios server by following command.

/usr/local/nagios/libexec/check_nrpe -h SERVER_A -c check_net -p PORT_NUMBER -d SERVER_B

***************************
Thanks in advance.

Regards
Srinivasan