18 Jul 2025
07:55 PM
- last edited on
21 Jul 2025
02:08 PM
by
AgataWlodarczyk
We are trying to monitor specific Sybase processes on AIX hosts - Where each host has a variable amount of processes ex:
/opt/sybase/bin/dataserver -sprod ,
/opt/sybase/bin/dataserver -sprod2 ,
/opt/sybase/bin/backupserver -sprod3
We can't use OS Service Monitoring as these are not systemd services.
We need to monitor when any of these drop and alert which process has stopped.
DQL I tried was:
fetch dt.entity.host
| fieldsAdd osServices, state
| expand osServices
| parse osServices, """LD 'dt.osservice.name=' LD:"OS Service" ',' LD 'dt.osservice.display_name=' LD:DisplayName ',' LD 'dt.osservice.status=' LD:Status ',' """
| fields `Host Name` = entity.name, id, `OS Service`, DisplayName, Status
| filter contains(`Host Name`, <hostname>)
This only reports back the group instance as dataserver or backupserver and not the specific processes under the group.
We tried using "Process Availability" under "Processes and containers," but this only monitors the count of processes running, and if one dies, it does not give which process it was that is no longer running, just that the count is lower than what you specify.
Could we use "Davis Anomaly Detection" to leverage DQL metrics for alerting in this use case?
Solved! Go to Solution.
19 Jul 2025 09:51 AM - edited 19 Jul 2025 09:54 AM
Hi @Troy
If you can distinguish between the processes by the command line args that start them, then you can utilize Process availability with that difference. Something like:
HTH
Yos
21 Jul 2025 03:16 PM
We were hoping to avoid doing them one by one as one server may have for ex sprod1 sprod2 while another only has sprod1, etc. and theres quite a few of these.
No other way to accomplish this then one by one?