Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Inter server port monitoring
Version 1.0
2016-06-24
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
6310
File | Description |
---|---|
check_net.sh | check_net.sh |
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!
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
Reviews (0)
Be the first to review this listing!