SlideShare a Scribd company logo
monitoringProtocols
NSClient Workshop: 04 Protocols
Active 
Passive 
Realtime 
Future 
Everyx minute 
Everyx minute 
Onlyon errors 
Onlyon errors 
For eachservice 
For mostservices 
Onlyon errors 
Onlyon errors 
Verychatty 
Verychatty 
Lesschatty 
Not chatty 
NRPE 
NRPE (ish) 
NSCA 
NSCA 
check_nt(ish) 
NRDP 
REST 
REST 
REST 
REST 
NSCP 
NSCP 
NSCP 
NSCP
NSClient Workshop: 04 Protocols
NRPE 
Server 
Core 
Check 
System 
Check 
EventLog 
Check 
ExternalScripts 
check_foo.bat 
QUERY 
NRPE 
(1024) 
QUERY 
Port: 5666 
allowedhosts 
arguments 
arguments
insecure=true
NSClient Workshop: 04 Protocols
ConfiguringNRPE
3:1 UsingNRPE
You know this one by now… 
Enable NRPE 
Run check_memoryvia NRPE
Enable NRPE 
Run check_memoryvia NRPE 
nscphelp 
nscpnrpehelp 
# Dontforgetto (re)start NSClient++
Enable NRPE 
Run check_memoryvia NRPE 
nscphelp 
nscpnrpehelp 
# Dontforgetto (re)start NSClient++ 
nscpnrpe--help 
nscpnrpeinstall --help
Enable NRPE 
Run check_memoryvia NRPE 
nscpnrpeinstall --insecure true 
--allowed-hosts 127.0.0.1 --arguments safe 
check_nrpe--insecure--host 127.0.0.1 
--command check_memory
NSClient Workshop: 04 Protocols
Scheduler 
Core 
Check 
System 
Check 
EventLog 
Check 
ExternalScripts 
check_foo.bat 
NSCA 
(512) 
QUERY 
Target: nsca 
address 
port 
password 
encryption 
commands 
interval 
Etc… 
NSCAClient 
Notification
NSClient Workshop: 04 Protocols
UsingNSCA
3:2 EnableNSCA
Setup a check_cpucheck every 5 seconds. 
Send the result via NSCA to localhost:5667 
No encryption, password=test
Setup a check_cpucheck every 5 seconds. 
Send the result via NSCA to localhost:5667 
No encryption, password=test 
Enable, Schedulerand NSCAClient 
Firstadda schedule 
Thenconfiguredefault target
Setup a check_cpucheck every 5 seconds. 
Send the result via NSCA to localhost:5667 
No encryption, password=test 
Enable, Schedulerand NSCAClient 
Firstadda schedule 
/settings/scheduler/schedules 
Thenconfiguredefault target 
/settings/NSCA/client/targets/default
Setup a check_cpucheck every 5 seconds. 
Send the result via NSCA to localhost:5667 
No encryption, password=test 
nscptest --settings nsca_server.ini 
nscptest --settings nsca_client.ini
NSClient Workshop: 04 Protocols
WEB 
Server 
Core 
Check 
System 
Check 
EventLog 
Check 
ExternalScripts 
check_foo.bat 
QUERY 
HTTP 
QUERY 
Port: 8443, 8080allowedhosts 
arguments
curl--insecure --header "password: PASSWORD“ https://localhost:8443/query/QUERY?ARGScurl--insecure --header "password: PASSWORD“ https://localhost:8443/query/check_cpu?show-all
UsingREST
3:3 UseREST
Curl can be found under: C:nsclienttools 
Base URL is: https://localhost:8443/query/QUERY?ARGS 
Check check_memoryvia REST 
Whatsthe differenceifyouaddshow-all?
Check check_memoryvia REST 
Whatsthe differenceifyouaddshow-all? 
Curl can be found under: C:nsclienttools 
Base URL is: https://localhost:8443/query/QUERY?ARGS 
Enable web server and set the password (see previous lab) 
Then use curl
Check check_memoryvia REST 
Whatsthe differenceifyouaddshow-all? 
Curl can be found under: C:nsclienttools 
Base URL is: https://localhost:8443/query/QUERY?ARGS 
Enable web server and set the password (see previous lab) 
Then use curl 
Don’t forget: --insecure, --header "password: PASSWORD“
Check check_memoryvia REST 
Whatsthe differenceifyouaddshow-all? 
Curl can be found under: C:nsclienttools 
Base URL is: https://localhost:8443/query/QUERY?ARGScurl --insecure --header "password: PASSWORD“ https://localhost:8443/query/check_memory?show-all
NSClient Workshop: 04 Protocols

More Related Content

PDF
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
PDF
nginxをソースからインストールしてみたよ
PDF
Dev ops on startup environment
PDF
Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with ...
PPTX
MySQL Replication
PDF
톰캣 #04-환경설정
DOCX
How to install squid proxy on server or how to install squid proxy on centos o
DOCX
Lamp configuration u buntu 10.04
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
nginxをソースからインストールしてみたよ
Dev ops on startup environment
Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with ...
MySQL Replication
톰캣 #04-환경설정
How to install squid proxy on server or how to install squid proxy on centos o
Lamp configuration u buntu 10.04

What's hot (20)

PDF
Безопасность интернет-приложений осень 2013 лекция 7
PDF
YASPS OPENNING
ODT
Squid file
PDF
Monitoring Containers with Weave Scope
PDF
How To Check IE Enhanced Security Is Enabled Windows PowerShell
PPTX
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
PDF
A little systemtap
PDF
Salt stack
PDF
NSClient++ Workshop: 01 Introduction
PPTX
Laravel Day / Deploy
PDF
How To Install and Configure SNMP on RHEL 7 or CentOS 7
PDF
How To Disable IE Enhanced Security Windows PowerShell
PDF
How To Protect SSH Access with Fail2Ban on RHEL 7
PDF
T.Pollak y C.Yaconi - Prey
PDF
SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...
PDF
StatsCraft 2015: Monitoring using riemann - Moshe Zada
PPTX
uWSGI - Swiss army knife for your Python web apps
PDF
Engineering Challenges Doing Intrusion Detection in the Cloud
PDF
Monit - NHRuby May 2009
Безопасность интернет-приложений осень 2013 лекция 7
YASPS OPENNING
Squid file
Monitoring Containers with Weave Scope
How To Check IE Enhanced Security Is Enabled Windows PowerShell
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
A little systemtap
Salt stack
NSClient++ Workshop: 01 Introduction
Laravel Day / Deploy
How To Install and Configure SNMP on RHEL 7 or CentOS 7
How To Disable IE Enhanced Security Windows PowerShell
How To Protect SSH Access with Fail2Ban on RHEL 7
T.Pollak y C.Yaconi - Prey
SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...
StatsCraft 2015: Monitoring using riemann - Moshe Zada
uWSGI - Swiss army knife for your Python web apps
Engineering Challenges Doing Intrusion Detection in the Cloud
Monit - NHRuby May 2009
Ad

Similar to NSClient Workshop: 04 Protocols (20)

PDF
OSMC 2012 | Distributed Monitoring mit NSClient++ by Michael Medin
PDF
OSMC 2009 | Windows monitoring - Going where no man has gone before... by Mic...
PDF
Nagios Conference 2011 - Mike Weber - Training: Choosing Nagios Plugins To Use
PDF
PRIVATE CLOUD SERVER IMPLEMENTATIONS FOR DATA STORAGE
PPTX
CCL-Final Presentation
PDF
OSMC 2011 | Distributed monitoring using NSClient++ by Michael Medin
PDF
InSecure Remote Operations - NullCon 2023 by Yossi Sassi
PDF
Bloombase StoreSafe Compatibility Matrix
ODP
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
DOCX
Login id jsnyder47Password XeGACUkEN8CONNECTING TO THE.docx
PDF
PPTX
Remote Access Security
PDF
DNSSEC signing Tutorial
PDF
Mens jan piet_dnssec-in-practice
PPTX
Hunting for APT in network logs workshop presentation
PDF
OSMC 2023 | Replacing NSClient++ for Windows Monitoring by Sven Nielein
PDF
SNClient+ - General purpose monitoring agent
PDF
Practice and challenges from building IaaS
PDF
An Open Source Network Infrastructure (Is OS Software Suitable for SMEs?)
PDF
SK0-005 Success 2025: Certifiedumps Study Routine That Works
OSMC 2012 | Distributed Monitoring mit NSClient++ by Michael Medin
OSMC 2009 | Windows monitoring - Going where no man has gone before... by Mic...
Nagios Conference 2011 - Mike Weber - Training: Choosing Nagios Plugins To Use
PRIVATE CLOUD SERVER IMPLEMENTATIONS FOR DATA STORAGE
CCL-Final Presentation
OSMC 2011 | Distributed monitoring using NSClient++ by Michael Medin
InSecure Remote Operations - NullCon 2023 by Yossi Sassi
Bloombase StoreSafe Compatibility Matrix
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Login id jsnyder47Password XeGACUkEN8CONNECTING TO THE.docx
Remote Access Security
DNSSEC signing Tutorial
Mens jan piet_dnssec-in-practice
Hunting for APT in network logs workshop presentation
OSMC 2023 | Replacing NSClient++ for Windows Monitoring by Sven Nielein
SNClient+ - General purpose monitoring agent
Practice and challenges from building IaaS
An Open Source Network Infrastructure (Is OS Software Suitable for SMEs?)
SK0-005 Success 2025: Certifiedumps Study Routine That Works
Ad

More from Michael Medin (20)

PDF
IcingaCamp Berlin 2018 NSClient++ and friends
PDF
Extending NSClient++ with rest and python
PDF
The technology of tomorrows integration plattform
PDF
Integration Plattform of Tomorrow
PDF
Automated monitoring with NSClient++ and Icinga
PDF
Ns client++ icinga camp
PDF
Continuous delivery from the trenches Redhat Forum Edition
PDF
Continuous delivery @CD Summit Stockholm
PDF
Continuous Delivery at Oracle Database Insights
PDF
Continuous delivery from the trenches
PDF
NSClient++....or not
PDF
Continuous Delivery in the Enterprise
PDF
NSClient++ whats new for 0.3.9 users
PDF
Oracle SOA Suite 12c 1z0-434 Day 1/3
PDF
Integration in the Cloud
PDF
The Road to Oracle SOA Suite 12c
PDF
Enabling Mobility through Continuous Delivery
PDF
NSClient++ Workshop: 06 Scripting
PDF
NSClient++ Workshop: 05 Monitoring
PDF
NSClient++ Workshop: 03 Installation
IcingaCamp Berlin 2018 NSClient++ and friends
Extending NSClient++ with rest and python
The technology of tomorrows integration plattform
Integration Plattform of Tomorrow
Automated monitoring with NSClient++ and Icinga
Ns client++ icinga camp
Continuous delivery from the trenches Redhat Forum Edition
Continuous delivery @CD Summit Stockholm
Continuous Delivery at Oracle Database Insights
Continuous delivery from the trenches
NSClient++....or not
Continuous Delivery in the Enterprise
NSClient++ whats new for 0.3.9 users
Oracle SOA Suite 12c 1z0-434 Day 1/3
Integration in the Cloud
The Road to Oracle SOA Suite 12c
Enabling Mobility through Continuous Delivery
NSClient++ Workshop: 06 Scripting
NSClient++ Workshop: 05 Monitoring
NSClient++ Workshop: 03 Installation

NSClient Workshop: 04 Protocols

  • 3. Active Passive Realtime Future Everyx minute Everyx minute Onlyon errors Onlyon errors For eachservice For mostservices Onlyon errors Onlyon errors Verychatty Verychatty Lesschatty Not chatty NRPE NRPE (ish) NSCA NSCA check_nt(ish) NRDP REST REST REST REST NSCP NSCP NSCP NSCP
  • 5. NRPE Server Core Check System Check EventLog Check ExternalScripts check_foo.bat QUERY NRPE (1024) QUERY Port: 5666 allowedhosts arguments arguments
  • 10. You know this one by now… Enable NRPE Run check_memoryvia NRPE
  • 11. Enable NRPE Run check_memoryvia NRPE nscphelp nscpnrpehelp # Dontforgetto (re)start NSClient++
  • 12. Enable NRPE Run check_memoryvia NRPE nscphelp nscpnrpehelp # Dontforgetto (re)start NSClient++ nscpnrpe--help nscpnrpeinstall --help
  • 13. Enable NRPE Run check_memoryvia NRPE nscpnrpeinstall --insecure true --allowed-hosts 127.0.0.1 --arguments safe check_nrpe--insecure--host 127.0.0.1 --command check_memory
  • 15. Scheduler Core Check System Check EventLog Check ExternalScripts check_foo.bat NSCA (512) QUERY Target: nsca address port password encryption commands interval Etc… NSCAClient Notification
  • 19. Setup a check_cpucheck every 5 seconds. Send the result via NSCA to localhost:5667 No encryption, password=test
  • 20. Setup a check_cpucheck every 5 seconds. Send the result via NSCA to localhost:5667 No encryption, password=test Enable, Schedulerand NSCAClient Firstadda schedule Thenconfiguredefault target
  • 21. Setup a check_cpucheck every 5 seconds. Send the result via NSCA to localhost:5667 No encryption, password=test Enable, Schedulerand NSCAClient Firstadda schedule /settings/scheduler/schedules Thenconfiguredefault target /settings/NSCA/client/targets/default
  • 22. Setup a check_cpucheck every 5 seconds. Send the result via NSCA to localhost:5667 No encryption, password=test nscptest --settings nsca_server.ini nscptest --settings nsca_client.ini
  • 24. WEB Server Core Check System Check EventLog Check ExternalScripts check_foo.bat QUERY HTTP QUERY Port: 8443, 8080allowedhosts arguments
  • 25. curl--insecure --header "password: PASSWORD“ https://localhost:8443/query/QUERY?ARGScurl--insecure --header "password: PASSWORD“ https://localhost:8443/query/check_cpu?show-all
  • 28. Curl can be found under: C:nsclienttools Base URL is: https://localhost:8443/query/QUERY?ARGS Check check_memoryvia REST Whatsthe differenceifyouaddshow-all?
  • 29. Check check_memoryvia REST Whatsthe differenceifyouaddshow-all? Curl can be found under: C:nsclienttools Base URL is: https://localhost:8443/query/QUERY?ARGS Enable web server and set the password (see previous lab) Then use curl
  • 30. Check check_memoryvia REST Whatsthe differenceifyouaddshow-all? Curl can be found under: C:nsclienttools Base URL is: https://localhost:8443/query/QUERY?ARGS Enable web server and set the password (see previous lab) Then use curl Don’t forget: --insecure, --header "password: PASSWORD“
  • 31. Check check_memoryvia REST Whatsthe differenceifyouaddshow-all? Curl can be found under: C:nsclienttools Base URL is: https://localhost:8443/query/QUERY?ARGScurl --insecure --header "password: PASSWORD“ https://localhost:8443/query/check_memory?show-all