How to get list of program name configured in NLS.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
msawant007
Posts: 2
Joined: Sat Dec 12, 2020 3:38 am

How to get list of program name configured in NLS.

Post by msawant007 »

I want to make a list of all program name configured in NLS for bash scripting purpose. Do NLS have any elasticsearch command (curl command) or any other way from where i can gather details of program names configured in NLS?
Attachments
Capture.PNG
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: How to get list of program name configured in NLS.

Post by benjaminsmith »

Hi @msawant007,

This method will only include the data in the current query, but if you set that to a large enough time frame it should be sufficient and is easy to do. Click on the program field on the left-hand side ( under All Events), and select the table option.
program-field.png
You will get a listing of the top terms based on count and then you can also download a csv file the whole query sorted by program filed.
export-program-csv.png
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked