Re: Automated memory monitoring

From: scriptOmatic (ScriptOmatic_at_ChironComputing.Com)
Date: 05/13/03


Date: Tue, 13 May 2003 18:17:49 GMT

Stilgar wrote:
>
> I need to build a system monitoring tool, to set alarms when the
> system hits preset resource usage. Ex: if CPU idle is 0% for 15
> minutes, send a warning email to someone. Or page someone if an DB
> instance is down.
>
> For memory, since AIX uses as much memory as it can for file cache,
> how could I find, in an automated (i.e. scripted) method, if I am low
> on RAM? vmstat will always list free as being low. Can I just
> monitor paging space? If I got it right, paging will be used if there
> is more virtual memory to manage than real physical memory, so if
> paging runs low, RAM is automatically low or all used.
>
> Please realize that it needs to be something I can automate and that
> must be "stable". No false alarms at 0300!
>
> Thanks!

Please see http://www.opensysmon.com.
It lets you do what you want. It produces a web interface (or you can
disable
that feature) and you simply write scripts that you want and plug them
into
the package, you can use any language.

The code base is over 5 years old and has been open source for about 1
year
(9 or 10 months?, something like that).

Version 2.2 will be out in a couple of weeks.

It has way many features and most other monitoring tools can simply be
made to plug into OSM. You can use OS tools to monitor, you can use
the ones that come with the software (about 40 or so at the website)
you can write your own, you can get'em off the net.

And it is fully integrated with cron (cron is not required).
So you can, if you like, have one monitoring plugin
that runs only once per week while all the others run periodically.

If can be monitored, OSM can monitor it.

Thanks for listening!

-- 
http://ftp.opensysmon.com is a shell script archive site with an
open source system monitoring and network monitoring software package.
Many platforms are supplied already compiled.


Relevant Pages

  • Re: [perfmon] perfmon2 code review: 32-bit ABI on 64-bit OS
    ... As such a 32-bt monitoring tool could see 64-bit generated samples. ... which systematically adds a fixed size header to each sample. ... that maps to the current PID, another one that maps to the interrupt IP. ...
    (Linux-Kernel)
  • Re: Accidently removed monitoring tool and cannot reinstall
    ... Microsoft Small Business Server Support ... I have a> hunch if I can successfully create a distribution group,> the monitoring tool will re-install successfully. ...
    (microsoft.public.windows.server.sbs)
  • Re: Network Traffic Analyzer Recommendations?
    ... Also available for use with snort are various plugins which enable you ... If you're just after a basic bandwidth monitoring tool, ... worse than using the built-in Windows performance monitoring tools - ...
    (microsoft.public.windows.server.networking)
  • Re: Automated memory monitoring
    ... >> I need to build a system monitoring tool, ... >> For memory, since AIX uses as much memory as it can for file cache, ... > It has way many features and most other monitoring tools can simply be ... > open source system monitoring and network monitoring software package. ...
    (comp.unix.aix)
  • Re: Accidently removed monitoring tool and cannot reinstall
    ... reinstall the monitoring tool. ... I tried to Monitoring and Reporting in Server Management ... and select Reinstall monitoring features. ...
    (microsoft.public.windows.server.sbs)