SlideShare a Scribd company logo
NSClient++ in the new millenium!
( )Discovering NSClient++
Name: Michael Medin (@mickem)
Email: michael@medin.name
Blog: http://blog.medin.name
Project: NSClient++
Web: http://nsclient.org
∘•
OSMC 2012 | Distributed Monitoring mit NSClient++ by Michael Medin
Michael Medin
OSMC 2012 | Distributed Monitoring mit NSClient++ by Michael Medin
About NSClient++ (the program)
About NSClient++ (the project)
NSClient++ (What can I do?)
NSClient++ (What’s new)
Thank you!
More then a 1000 words?
…for windows…
Building on Linux
Building on windows…
More then a 1000 words?
…daemon
Tobias Leeger
More then a 1000 words?
Secure monitoring
Secure monitoring
Security
OSMC 2012 | Distributed Monitoring mit NSClient++ by Michael Medin
Time to get real…
nscp Display all(?) available context
nscp --help Get help (can be used in many places)
nscp <context or alias> [options] [-- [module options]]
General usage syntax
General usage
help Get help
client Act as a client. (think check_nrpe)
Usually aliases we can use instead.
service (un)Install and display windows service
settings Work with configuration
test Find errors and problems
unit Run unit test scripts
Contexts
lua Run lua scripts
python Run python scripts
nrpe Think check_nrpe
nsca Think send_nsca
sys Nice pdh front-end (more to come)
wmi WMI front end
eventlog Add event log message from command line
Aliases
nscp settings --help
nscp settings --add-missing --generate [--load-all]
Will update your configuration with ALL keys
nscp settings --add-missing --activate-module <module>
Great way to "enable a new module“
nscp settings --remove-defaults --generate
Will remove all default keys/sections
nscp settings --validate
Show problems with the settings file
Settings (Configuration)
nscp nrpe -- --help
The -- is important
nscp nrpe -- -H 127.0.0.1 -c foo -a foo bar
Execute nrpe query from nsclient++
0.4.2 will introduce:
nrpe_client -H 127.0.0.1 -c foo -a foo bar
nsca_client …
…_client …
check_nrpe
Time to get real…
CheckLogFile
Subscribes to filechanges
SimpleFileWriter
Write notifications to file
NSCAClient
Submit NSCA messages
Modules
NSCA
FILE SimpleFileWriter
NSCAClient
CheckLogFile NSCP
[/modules]
CheckLogFile = enabled
SimpleFileWriter = enabled
[/settings/logfile/real-time/checks/sample]
critical = column2 like 'crit'
destination = FILE
file = ./test.txt
filter = column1 like 'hello'
warning = column2 like 'warn'
[/settings/logfile/real-time]
enabled = true
Resulting config from DEMO
[/settings/logfile/real-time]
enabled = true
[/settings/NSCA/client/targets/default]
address = 127.0.0.1
encryption = xor
password = secret
Resulting config from DEMO
[/modules]
CheckLogFile = enabled
NSCAClient = enabled
SimpleFileWriter = enabled
[/settings/logfile/real-time/checks/sample]
critical = column2 like 'crit'
destination = FILE,NSCA
file = ./test.txt
filter = column1 like 'hello'
warning = column2 like 'warn'
./nscp test
tail –f ./output.txt
echo –e “hellotworld”
echo –e “hellotwarn”
echo –e “hellotcrit”
Run the following
Time to get real…
CheckLogFile
Subscribes to filechanges
SimpleCache
Store our result
NRPEClient
Accept remote checks (if there is time)
Modules
CACHE SimpleCacheCheckLogFile NSCP
NRPEServer
[/settings/logfile/real-time]
enabled = true
[/settings/NSCA/client/targets/default]
address = 127.0.0.1
encryption = xor
password = secret
Resulting config from DEMO
[/modules]
CheckLogFile = enabled
NSCAClient = enabled
SimpleFileWriter = enabled
SimleCache = enabled
[/settings/logfile/real-time/checks/sample]
critical = column2 like 'crit'
destination = FILE,NSCA,CACHE
file = ./test.txt
filter = column1 like 'hello'
warning = column2 like 'warn'
./nscp test
echo –e “hellotworld”
echo –e “hellotwarn”
echo –e “hellotcrit”
In nsclient console execute:
check_cache index=sample
Run the following
Photo by Olga Berrios
michael@medin.name
http://www. .com/in/mickem
http://blog.medin.name/
http://nsclient.org
facebook.com/nsclient
http://nsclient.org/nscp/conferances/osmc/2012/
Thank You!

More Related Content

PDF
Rihards Olups - Encrypting Daemon Traffic With Zabbix 3.0
PDF
Native or External?
PDF
Containers: What are they, Really?
PDF
Networking and Go: An Engineer's Journey (Strangeloop 2019)
ODP
Introduce about Nodejs - duyetdev.com
PDF
Nodejs - Should Ruby Developers Care?
PDF
Jan Stępień - GraalVM: Fast, Polyglot, Native - Codemotion Berlin 2018
PPTX
Zeromq - Pycon India 2013
Rihards Olups - Encrypting Daemon Traffic With Zabbix 3.0
Native or External?
Containers: What are they, Really?
Networking and Go: An Engineer's Journey (Strangeloop 2019)
Introduce about Nodejs - duyetdev.com
Nodejs - Should Ruby Developers Care?
Jan Stępień - GraalVM: Fast, Polyglot, Native - Codemotion Berlin 2018
Zeromq - Pycon India 2013

What's hot (20)

ODP
Testing Wi-Fi with OSS Tools
PDF
Nodejs - A quick tour (v4)
KEY
A language for the Internet: Why JavaScript and Node.js is right for Internet...
PPTX
RedisConf17 - Internet Archive - Preventing Cache Stampede with Redis and XFetch
PDF
Volker Fröhlich - How to Debug Common Agent Issues
PDF
How to Test Asynchronous Code (v2)
PDF
Nodejs - A-quick-tour-v3
PDF
Python twisted
PDF
Nodejs - A quick tour (v5)
KEY
Node.js - As a networking tool
PPTX
RedisConf17- durable_rules
PDF
Node.js - A Quick Tour
KEY
NodeJS
PDF
Openstack meetup lyon_2017-09-28
PDF
Nodejs a-practical-introduction-oredev
PDF
Declare your infrastructure: InfraKit, LinuxKit and Moby
PDF
VisualWorks Security Reloaded - STIC 2012
PPTX
All you need to know about the JavaScript event loop
PDF
A promising approach for debugging remote promises
KEY
node.js: Javascript's in your backend
Testing Wi-Fi with OSS Tools
Nodejs - A quick tour (v4)
A language for the Internet: Why JavaScript and Node.js is right for Internet...
RedisConf17 - Internet Archive - Preventing Cache Stampede with Redis and XFetch
Volker Fröhlich - How to Debug Common Agent Issues
How to Test Asynchronous Code (v2)
Nodejs - A-quick-tour-v3
Python twisted
Nodejs - A quick tour (v5)
Node.js - As a networking tool
RedisConf17- durable_rules
Node.js - A Quick Tour
NodeJS
Openstack meetup lyon_2017-09-28
Nodejs a-practical-introduction-oredev
Declare your infrastructure: InfraKit, LinuxKit and Moby
VisualWorks Security Reloaded - STIC 2012
All you need to know about the JavaScript event loop
A promising approach for debugging remote promises
node.js: Javascript's in your backend
Ad

Similar to OSMC 2012 | Distributed Monitoring mit NSClient++ by Michael Medin (20)

PDF
Python Hashlib & A True Story of One Bug
PDF
Attacking Oracle with the Metasploit Framework
PPTX
Nagios Conference 2011 - Michael Medin - NSClient++: Whats New
PDF
The Ring programming language version 1.5.2 book - Part 39 of 181
PDF
The Ring programming language version 1.5.4 book - Part 14 of 185
PPTX
InSpec For DevOpsDays Amsterdam 2017
PPTX
PowerShell - Be A Cool Blue Kid
PPTX
Privilege Escalation with Metasploit
PPTX
Introduction to InSpec and 1.0 release update
PDF
The Ring programming language version 1.5.3 book - Part 85 of 184
PDF
The Ring programming language version 1.10 book - Part 90 of 212
PDF
TIAD : Automating the modern datacenter
PPTX
Nagios Conference 2011 - Nate Broderick - Nagios XI Large Implementation Tips...
PPSX
Sunil phani's take on windows powershell
PDF
Ansible is the simplest way to automate. MoldCamp, 2015
PDF
The Ring programming language version 1.3 book - Part 7 of 88
PDF
Swift Install Workshop - OpenStack Conference Spring 2012
ODP
Practical Tips for Novell Cluster Services
PDF
OSMC 2023 | Replacing NSClient++ for Windows Monitoring by Sven Nielein
PDF
SNClient+ - General purpose monitoring agent
Python Hashlib & A True Story of One Bug
Attacking Oracle with the Metasploit Framework
Nagios Conference 2011 - Michael Medin - NSClient++: Whats New
The Ring programming language version 1.5.2 book - Part 39 of 181
The Ring programming language version 1.5.4 book - Part 14 of 185
InSpec For DevOpsDays Amsterdam 2017
PowerShell - Be A Cool Blue Kid
Privilege Escalation with Metasploit
Introduction to InSpec and 1.0 release update
The Ring programming language version 1.5.3 book - Part 85 of 184
The Ring programming language version 1.10 book - Part 90 of 212
TIAD : Automating the modern datacenter
Nagios Conference 2011 - Nate Broderick - Nagios XI Large Implementation Tips...
Sunil phani's take on windows powershell
Ansible is the simplest way to automate. MoldCamp, 2015
The Ring programming language version 1.3 book - Part 7 of 88
Swift Install Workshop - OpenStack Conference Spring 2012
Practical Tips for Novell Cluster Services
OSMC 2023 | Replacing NSClient++ for Windows Monitoring by Sven Nielein
SNClient+ - General purpose monitoring agent
Ad

Recently uploaded (20)

PDF
Nekopoi APK 2025 free lastest update
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
System and Network Administraation Chapter 3
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Transform Your Business with a Software ERP System
PPTX
ai tools demonstartion for schools and inter college
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
top salesforce developer skills in 2025.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
history of c programming in notes for students .pptx
PDF
AI in Product Development-omnex systems
PDF
medical staffing services at VALiNTRY
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Digital Strategies for Manufacturing Companies
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Nekopoi APK 2025 free lastest update
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
System and Network Administraation Chapter 3
PTS Company Brochure 2025 (1).pdf.......
How to Migrate SBCGlobal Email to Yahoo Easily
Transform Your Business with a Software ERP System
ai tools demonstartion for schools and inter college
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
top salesforce developer skills in 2025.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
history of c programming in notes for students .pptx
AI in Product Development-omnex systems
medical staffing services at VALiNTRY
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
How Creative Agencies Leverage Project Management Software.pdf
Digital Strategies for Manufacturing Companies
CHAPTER 2 - PM Management and IT Context
Understanding Forklifts - TECH EHS Solution
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool

OSMC 2012 | Distributed Monitoring mit NSClient++ by Michael Medin