Linux

Inter server port monitoring

Description:

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 😀 )

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

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

Owner

License

GPL


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!
Project Files
Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
6,347