Process monitoring (Linux)
I have a requirement to monitoring Linux processes - and am really hoping that someone has done something similar.
Initially I thought the datasource "LinuxNewProcesses_byProperty" would meet the requirements as you just need to specify the process/processes to monitor. However I need a solution that would allow me to almost concatenate processes. eg. a resource could exist in multiple groups where group one may configure monitoring for process x, but the other group may configured monitoring for process y.
Effectively it shouldn't be overwriting the property field, but just adding to it.
The one way I can think of doing this is multiple datasources - but that seems very very clunky.
Alternatively a combination of group properties and using the API to build the contents of another property... to make it just a little bit more interesting the processes MUST be running on the servers. So if they are not found during discovery, an alert must be raised.
LM User
·2 years agoNot sure i follow entirely your goal. What about something like this? You can have instances that have the same display name, but not the same ID (wildvalue) within the same DS. However, if you were to add grouping to the property list, you could easily add the group to the id (wildvalue) to make it unique. You could add the group as an ILP and group by that automatically. Discovery wouldn't actually contact the device at all. That would all happen during collection. If data can't be collected for the service, it would fill a value for a "process missing" datapoint. The above linked DS may be a good starting place for you.