Hello XI support
Please advise if there is a way to email listed processes when using NCPA TOP Process check (since XI does not retain the list historically)
As attached, at a time of the triggered alerts, could we get the list of processes somehow recorded?
Thank you
NCPA Top CPU/Memory process to email the list?
NCPA Top CPU/Memory process to email the list?
You do not have the required permissions to view the files attached to this post.
Re: NCPA Top CPU/Memory process to email the list?
I believe that a little bit of bash could accomplish what you are talking about.
The greater than symbol will write text output from a command to a file.
Using two greater than signs in a command will add text output from a command to the end of a file specified.
You could schedule a job to repeat this process using something like cron in linux or a graphical interface like Nagios XI.
The greater than symbol will write text output from a command to a file.
Code: Select all
[ [i]command[/i] ] > [ [i]file name[/i] ]Code: Select all
[ [i]command[/i] ] >> [ [i]file name[/i] ]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!
Be sure to check out our Knowledgebase for helpful articles and solutions!