Windows nscp
Vai alla navigazione
Vai alla ricerca
NSClient++ nrpe per Windows
choco install nscp
PS C:\Program Files\NSClient++> .\nscp settings --list
PS C:\Program Files\NSClient++> vim nsclient.ini
net stop nscp; net start nscp
New-NetFirewallRule -Name nrpe -DisplayName 'Allow nagios NRPE' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 5666 Get-NetFirewallRule -Name "*NRPE*" | get-netfirewalladdressfilter | set-netfirewalladdressfilter -RemoteAddress 155.185.0.39
Aggiungere chiave DH più lunghetta: https://hodza.net/2019/09/21/failed-to-establish-secure-connection-sslv3-alert-handshake-failure-1040/
PS C:\Program Files\NSClient++> .\nscp settings --path /modules --key CheckSystem --set enabled PS C:\Program Files\NSClient++> .\nscp settings --path /modules --key CheckDisk --set enabled
nagios
/usr/lib/nagios/plugins/check_nrpe -H netsystem-01.dmz-ext.unimo.it -c CheckCPU -a warn=80 crit=90 time=20m time=10s time=4 /usr/lib/nagios/plugins/check_nrpe -H netsystem-01.dmz-ext.unimo.it -c check_drivesize -a drive=c: /usr/lib/nagios/plugins/check_nrpe -H netsystem-01.dmz-ext.unimo.it -c check_process -a 'process=sshd.exe'