Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
check_commands:check_nrpe [2019/08/12 15:25]
Robbie Ferguson
check_commands:check_nrpe [2019/08/12 15:55] (current)
Robbie Ferguson
Line 2: Line 2:
  
 ====Configuration==== ====Configuration====
- 
-===Fix for NEMS 1.5 and Under=== 
- 
-In NEMS Linux 1.5 and lower, an older version of NRPE was used. This can be upgraded by running ''​%%sudo nems-upgrade%%''​ however you must also make a few minor changes in NEMS NConf as follows: 
- 
-  * Edit //​check_nrpe//​ in //​checkcommands//,​ changing the command line to: ''​%%$USER1$/​check_nrpe -H $HOSTADDRESS$ -c $ARG1$%%''​ (essentially,​ just removing the quotation marks). 
-  * Edit /// Disk Space// and ///var Disk Space// in //Advanced Services//, changing the ARGS to: ''​%%check_disk -a '-w 80 -c 90 -p /'​%%''​ and ''​%%check_disk -a '-w 80 -c 90 -p /​var'​%%''​ respectively. 
  
 ===Firewall Ports=== ===Firewall Ports===
Line 17: Line 10:
 Since check_nrpe can pose a security risk, please **do not** open these ports to the world. Rather, ensure your NEMS Server is the only outside IP allowed to connect to these ports. Since check_nrpe can pose a security risk, please **do not** open these ports to the world. Rather, ensure your NEMS Server is the only outside IP allowed to connect to these ports.
 </​WRAP>​ </​WRAP>​
- 
  
 ===Host-Side Service=== ===Host-Side Service===
Line 28: Line 20:
   * [[usage:​nrpe_on_windows|NRPE For Windows Clients]]   * [[usage:​nrpe_on_windows|NRPE For Windows Clients]]
  
-Once installed, open your nrpe.cfg file and make the following changes:+===Fix for NEMS 1.and Under===
  
-  * Set: dont_blame_nrpe=''​%%1%%''​ +In NEMS Linux 1.5 and lower, an older version of NRPE was used. This can be upgraded by running ​''​%%sudo nems-upgrade%%'' ​however you must also make a few minor changes in NEMS NConf as follows:
-  * Un-comment the check commands you wish to use. +
-  * Restart ​NRPE''​%%systemctl restart nagios-nrpe-server%%''​+
  
-<WRAP center round info 60%> +  * Edit //check_nrpe// in //​checkcommands//, changing ​the command line to: ''​%%$USER1$/​check_nrpe -H $HOSTADDRESS$ -c $ARG1$%%'' ​(essentiallyjust removing the quotation marks). 
-On Linux, nrpe.cfg is located at ///etc/nagios/nrpe_local.cfg// +  * Edit /// Disk Space// and ///var Disk Space// in //Advanced Services//, changing the ARGS to: ''​%%check_disk -a '-w 80 -c 90 -p /'​%%''​ and ''​%%check_disk -a '-w 80 -c 90 -p /​var'​%%''​ respectively.
-whereas on Windowsyou'll find nrpe.cfg in the NSClient++ installation folder ​(Eg., //C:\Program Files\NSClient++//+
-</WRAP>+
  
  • check_commands/check_nrpe.txt
  • Last modified: 2019/08/12 15:55
  • by Robbie Ferguson