Hello, I have the following problem, I have my nagios server that has access to server A, without problems, but there is a server B that only server A has access to, so nagios does not reach server B, I am interested in being able to through from server A, ping server B and also see if port 80 is open, but "see" that somehow in nagios. How can I achieve that?
Server B is a 5.x redhat and Server A is a 6.10 redhat
Monitoring of a server and services through another server
Re: Monitoring of a server and services through another serv
You can run this HTTP check remotely using the remote Linux machine to complete the request.
1. Download this file to /usr/local/ncpaplugins/check_http.py.
2. Run Command Prompt as administrator. Type this:
3. Enter this into the Nagios XI service:
- Plugin: check_xi_ncpa
- Arg1: -t '<your NCPA community string>' -M 'plugins/check_http.py' -a '<your URL>'
The script I linked is specially modified to allow a quoting workaround for NCPA, so you'll want to put quotes around the '<your URL>' string in your arg1. E.g. -a '"https://example.com"' - that's a single quote ('), then a double quote ("), then the URL, then a double quote ("), then a single quote (').
1. Download this file to /usr/local/ncpaplugins/check_http.py.
2. Run Command Prompt as administrator. Type this:
Code: Select all
pip3 install requests- Plugin: check_xi_ncpa
- Arg1: -t '<your NCPA community string>' -M 'plugins/check_http.py' -a '<your URL>'
The script I linked is specially modified to allow a quoting workaround for NCPA, so you'll want to put quotes around the '<your URL>' string in your arg1. E.g. -a '"https://example.com"' - that's a single quote ('), then a double quote ("), then the URL, then a double quote ("), then a single quote (').
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.