Monitoring of processes
-
Hi,
- What will be the best solution for monitoring of processes having long command line ?
For example java process with argument "firstCell01 centosNode01 nodeagent" (arguments are placed at the end). Overall length of command line is longer then 1024 characters (2500).
A) It seems that solution via DCI Process.CountEx("java","firstCell01 centosNode01 nodeagent") takes into account only first 1024 characters.
Should be NetXMS subagent (processCmdLine[1024] in proc.cpp) updated ?B) Or is it better solution to monitor it via ExternalParameter DCI (i.e. ps xxx | grep yyy)
- Note: There are no values in column "Command Line" in <<Table>> System.Processes, other columns are populated correctly.
I'm not sure if it works as expected.
Kind Regards,
Roman -
Hi,
it's probably better to fix the agent
I've register it as a bug (https://www.radensolutions.com/chiliproject/issues/597), will take a look in next few days.Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login