joblessjunkie
April 4th, 2008, 01:03 AM
I'm trying to create some custom monitoring for our server farm.
One thing I am missing is something equivalent to Windows' custom performance counters: system-wide integers that can be quickly and thread-safely incremented or queried from any process. I'd like to create counters for various application-specific events like jobs completed, errors encountered, etc.
Does Linux/Ubuntu have a standard way to implement such a thing? Forgive me if this is a silly question -- I'm coming from a long Windows history :-(
A naive solution might be just to simply store integers in a small file somewhere, but this ability seemed so core to the system that I suspect there is probably some existing way to do this....
Thanks!
One thing I am missing is something equivalent to Windows' custom performance counters: system-wide integers that can be quickly and thread-safely incremented or queried from any process. I'd like to create counters for various application-specific events like jobs completed, errors encountered, etc.
Does Linux/Ubuntu have a standard way to implement such a thing? Forgive me if this is a silly question -- I'm coming from a long Windows history :-(
A naive solution might be just to simply store integers in a small file somewhere, but this ability seemed so core to the system that I suspect there is probably some existing way to do this....
Thanks!