On some servers I have syslogd running, on others I have rsyslogd. Same goes with http vs apache2.
What I would like to do is to have an item that goes like this
proc.coun[apache2] + proc.count[httpd]
This doesn't work. On the first item gets recorded, the second one is ignored.
Better yet proc.count could take a regexp or a list so can do
proc.count[http|apache2] and get a sum of processes named either apache2 or httpd
Is there a way to do this?
What I would like to do is to have an item that goes like this
proc.coun[apache2] + proc.count[httpd]
This doesn't work. On the first item gets recorded, the second one is ignored.
Better yet proc.count could take a regexp or a list so can do
proc.count[http|apache2] and get a sum of processes named either apache2 or httpd
Is there a way to do this?
Comment