Use NSClient++ with librenms

Does anyone have or know of a good tutorial on how to integrate NSClient++ with LibreNMS and the nagios plugins. Ive got it setup on my server and see data in the web interface, Im just stalling on how to get librenms to pull the data or have NSClient++ send the data to Librenms

I’ve also added nagios-nrpe-server and can verify a connection to the client with NSClient++ on it.

Copy of NSClient Config:
# If you want to fill this file with all available options run the following command:
# nscp settings --generate --add-defaults --load-all
# If you want to activate a module and bring in all its options use:
# nscp settings --activate-module --add-defaults
# For details run: nscp settings --help

; in flight - TODO

; Undocumented key
password = PASSWORD

; Undocumented key
allowed hosts =,LIBRENMS_SERVER_IP

; in flight - TODO

; Undocumented key
ssl options = no-sslv2,no-sslv3

; Undocumented key
verify mode = peer-cert

; Undocumented key
insecure = false

; in flight - TODO

; Undocumented key
CheckExternalScripts = disabled

; Undocumented key
CheckHelpers = disabled

; Undocumented key
CheckEventLog = disabled

; Undocumented key
CheckDisk = disabled

; Undocumented key
WEBServer = enabled

; Undocumented key
NRPEServer = enabled

; CheckWMI - Check status via WMI
CheckWMI = enabled

; CheckTaskSched - Check status of your scheduled jobs.
CheckTaskSched = enabled

; CheckSystem - Various system related checks, such as CPU load, process state, service state memory usage and PDH counters.
CheckSystem = enabled

; NSClientServer - A server that listens for incoming check_nt connection and processes incoming requests.
NSClientServer = enabled

; SimpleCache - Stores status updates and allows for active checks to retrieve them
SimpleCache = enabled

; CheckNSCP - Use this module to check the healt and status of NSClient++ it self
CheckNSCP = enabled

I looks like you’re on the right track but I think the rest might be a bit more manual than you were hoping for.

I don’t use NSClient++ but as I understand it, it has a a number of builtin NRPE checks. Do you get data back if you query those with check_nrpe? For example…

./check_nrpe -H --command check_memory

If so you just need to add each of the NRPE checks that you want to monitor as its own service using with the command switch (--command check_memory) in the service’s parameters field.

1 Like

That,s exactly what I needed thanks a ton slashdoom

1 Like