Some processes change the command stored in /proc/ pid/cmdline to be more user friendly, but scollector is looking for NUL delimited arguments so this can cause issues. When setting up process monitoring you can use ps -ef to see a list of running processes and their arguments. This can be used to create alerts when count = 0 or count > 1. IncludeCount is a optional boolean (default is false) to enable the metric as a count of matched processes on each system. If multiple processes match the given Command and Args they will be assigned incrementing id tag values starting at 1. If Name is not specified then a sanitized version of the command text will be used as the name tag value.Īrgs is a optional regular expression (case sensitive by default) used to select a specific instance of a program. Name is the value that will be used in the name tag of the linux.proc.* and os.proc.* metrics that are created. This will not match against arguments except when the cmdline is rewritten by the program (See below). You can use just the executable or include part of the path like “/bin/java”. ]Ĭommand = '/usr/bin/redis-server \*:16389'Ĭommand is a partial text match (older versions) or regular expression (as of 0.5.0-rc1) against the full path of all executing programs. Scollector will monitor any Linux processes specified in the configuration file. There are examples of process monitoring on the Stack Overflow Documentation topic for Scollector Process and Service monitoring. By having a standard list of processes that are monitored on all systems as part of the default Windows or Linux toml file you won’t need to perform any additional configuration when deploying new systems. Some processes like IIS application pools are monitored automatically, but usually you need to specify which processes and services you want to monitor. Scollector can be used to monitor processes and services in Windows and Linux. Monitoring Processes with Scollector Overview
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |