Random Project
Linux

Inter server port monitoring

0 (0)
6,391
0
0

Thank you for your review!

Your review has been submitted and is pending approval.

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


Project Details

Current Version

Version 1.0

Last Release Date

2016-06-24

Owner

Srinivasan

License

GPL

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Recommend

To:


From: