Re: System resource monitoring and reporting utility ?

2007-08-11 Thread Ira Abramov
> > For anyone who is interested in seeing it in action, Hamakor's new
> > server has it running, open for all to see: http://hamakor.org.il/munin/

a predecessor of Munin is HotSaNIC, long out of maintenence but I love
its output. the upside is finer graphs higher sample resolution) but the
downside is it's heavy (perl) and only good for the machine you are on,
for most tests. however, it's perl, so extend it as you see fit.

it was born in a world of GIFs, but there is a patch to use PNG. the
patch is badly made though, it generates PNGs with "gif" postfix :-)

if you don't mind the slightly weird code, and only monitor the local
machine, it's the fastest and simplest one to set up. here's how it
looks on my machine:
http://uma.scso.com/hotsanic/frame.html

for alerts, I use monit, naturally. If you are a ruby freak there's a
project called "god" on rubyforge that does the same, only written in
interpreted language and the config is (yuck!) in ruby code as well.

> 5. Zabbix - Very robust, but requires their agents to be installed on
> all non SMTP machines. If you are willing to do this, then this is a
> Great option. Really - Zabbix is a mature system that works great.

last I tried it was 3+ years ago, I only remember it was jacking up
system load, since it  was contantly feeding "INSERT"s to mysql with the
samples and the agents were not light either. it was very helpful in QA
phase, but not for production. I hope they solved that since :-)

> 7. Cacti - Non recommended. I don't remember why.

I tried to play with it for an hour and gave up. it's as tedious a
config as nagios (define object upon objects before you can monitor
anything) but only via the not-too-comfy web interface. I could not get
the bugger to work, and went back to hotsanic.

there's a new kit also called hyperic (http://www.hyperic.com/) but the
whole thing is in Java (which I don't like for such tools, because like
the perl-based HotSaNIC it's useless in high loads)

-- 
Celebrity boxer
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: System resource monitoring and reporting utility ?

2007-08-11 Thread Noam Meltzer
You're exaggerating. It's just a difference concept, once you sit and try to
understand what it is all about, it won't take long.
Anyhow, SNMP might have been a pain in ealier version of solaris, but since
solaris10 it is based on net-snmp which is much more standard and easier to
work with.

- Noam

On 8/9/07, Michael Tewner <[EMAIL PROTECTED]> wrote:
>
> SNMP in Solaris is pain.
> Installation is a pain.
> Configuration is a pain.
> Maintenance is less of a pain.
>
>
> On 8/9/07, Amos Shapira <[EMAIL PROTECTED]> wrote:
> > On 09/08/07, Mike Tewner <[EMAIL PROTECTED]> wrote:
> > > I've worked with tons of programs that do this - none of them have
> > > filled all my requirements. One thing, though - I didin't want to rely
> > > on SNMP - My ultimate solution would be a system that will ssh to a
> > > machine and run commands, process the output.
> >
> > Why not SNMP? With SNMP v3 there is adequate authentication/encryption,
> the
> > standard snmp daemon on linux makes it very easy to add SNMP interface
> in
> > front of any new measure you want to watch, snmp traps can serve the
> purpose
> > of alerts and the standard protocol means that you can access the info
> using
> > a multitude of tools.
> >
> > So why not?
> >
> > --Amos
> >
> >
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>


Re: System resource monitoring and reporting utility ?

2007-08-09 Thread Michael Tewner
SNMP in Solaris is pain.
Installation is a pain.
Configuration is a pain.
Maintenance is less of a pain.


On 8/9/07, Amos Shapira <[EMAIL PROTECTED]> wrote:
> On 09/08/07, Mike Tewner <[EMAIL PROTECTED]> wrote:
> > I've worked with tons of programs that do this - none of them have
> > filled all my requirements. One thing, though - I didin't want to rely
> > on SNMP - My ultimate solution would be a system that will ssh to a
> > machine and run commands, process the output.
>
> Why not SNMP? With SNMP v3 there is adequate authentication/encryption, the
> standard snmp daemon on linux makes it very easy to add SNMP interface in
> front of any new measure you want to watch, snmp traps can serve the purpose
> of alerts and the standard protocol means that you can access the info using
> a multitude of tools.
>
> So why not?
>
> --Amos
>
>

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: System resource monitoring and reporting utility ?

2007-08-08 Thread Amos Shapira
On 09/08/07, Mike Tewner <[EMAIL PROTECTED]> wrote:
>
> I've worked with tons of programs that do this - none of them have
> filled all my requirements. One thing, though - I didin't want to rely
> on SNMP - My ultimate solution would be a system that will ssh to a
> machine and run commands, process the output.


Why not SNMP? With SNMP v3 there is adequate authentication/encryption, the
standard snmp daemon on linux makes it very easy to add SNMP interface in
front of any new measure you want to watch, snmp traps can serve the purpose
of alerts and the standard protocol means that you can access the info using
a multitude of tools.

So why not?

--Amos


Re: System resource monitoring and reporting utility ?

2007-08-08 Thread Mike Tewner
Oh - I forgot. Nagios let me do my whole check-through-ssh thing. meaning:
I put the nagios-plugins somewhere on the remote machines and create a
nagios user on each. Configure key authentication for this user on all
the machines. Then I configured nagios to check_by_ssh all the things
I wanted checked. Configuration would have killed me had I not used
the Groundwork Framework.


On 8/9/07, Mike Tewner <[EMAIL PROTECTED]> wrote:
> I've worked with tons of programs that do this - none of them have
> filled all my requirements. One thing, though - I didin't want to rely
> on SNMP - My ultimate solution would be a system that will ssh to a
> machine and run commands, process the output.
>
> In no particular order:
>
> 1. Monit is good for status - not history. If you want to know what's
> running NOW, or get en email when disk usage goes above 80% - things
> that can be checked remotely (ping, HTTP/S, Mysql) then monit is
> great. No pretty graphs, though.
> 2. Nagios is the best for all-around monitoring - but configuration is
> a pain. Installing the Groundwork framework makes this a cinch, though
> installing groundwork itself is slightly painful and pretty invasive
> on the host machine. If you have a machine to dedicate to this, this
> is probably the best solution for most cases.
> 3. mrtg is good, especially if all your devices speak SNMP. It's cute
> an simple - you cron a perl script to run every, say, 5 minutes. It
> outputs a bunch of graphs. I don't think it does warnings/emails, etc.
> 4. Orcallator. Some large companies I know use this. I tried it once -
> I seem to remeber that I liked it, though I couldn't online any of the
> features that I thought I liked :-)
> 5. Zabbix - Very robust, but requires their agents to be installed on
> all non SMTP machines. If you are willing to do this, then this is a
> Great option. Really - Zabbix is a mature system that works great.
> 6. Zenoss - compatible with nagios plugins. I would say this solution
> reminds me of a mach-up of zabbix and nagios.
> 7. Cacti - Non recommended. I don't remember why.
>
>
>
> On 8/9/07, Shachar Shemesh <[EMAIL PROTECTED]> wrote:
> > Oren Held wrote:
> > > A friend of mine (Amnon) found Munin (http://munin.projects.linpro.no/), 
> > > which
> > > is a great system resource grapher tool which has plugins for almost
> > > everything from swap, ntp time drifts, disk temperature - to mysql queries
> > > per second.
> > >
> > > However, it draws graphs, I'm not sure it can send alerts. You can set 
> > > limits
> > > (like highest cpu temperature or free disk space) which tag the whole node
> > > as "red", maybe it's even capable of notifying.. worth a check I guess.
> > >
> > I don't know about alerts, but I find that it is the best tool I know
> > for getting the "general health" of a system. That is something no graph
> > specific test can tell you, because it often involves measurements you
> > did not think of before they happened.
> >
> > For anyone who is interested in seeing it in action, Hamakor's new
> > server has it running, open for all to see: http://hamakor.org.il/munin/
> >
> > Shachar
> >
> > =
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
> >
> >
>

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: System resource monitoring and reporting utility ?

2007-08-08 Thread Mike Tewner
I've worked with tons of programs that do this - none of them have
filled all my requirements. One thing, though - I didin't want to rely
on SNMP - My ultimate solution would be a system that will ssh to a
machine and run commands, process the output.

In no particular order:

1. Monit is good for status - not history. If you want to know what's
running NOW, or get en email when disk usage goes above 80% - things
that can be checked remotely (ping, HTTP/S, Mysql) then monit is
great. No pretty graphs, though.
2. Nagios is the best for all-around monitoring - but configuration is
a pain. Installing the Groundwork framework makes this a cinch, though
installing groundwork itself is slightly painful and pretty invasive
on the host machine. If you have a machine to dedicate to this, this
is probably the best solution for most cases.
3. mrtg is good, especially if all your devices speak SNMP. It's cute
an simple - you cron a perl script to run every, say, 5 minutes. It
outputs a bunch of graphs. I don't think it does warnings/emails, etc.
4. Orcallator. Some large companies I know use this. I tried it once -
I seem to remeber that I liked it, though I couldn't online any of the
features that I thought I liked :-)
5. Zabbix - Very robust, but requires their agents to be installed on
all non SMTP machines. If you are willing to do this, then this is a
Great option. Really - Zabbix is a mature system that works great.
6. Zenoss - compatible with nagios plugins. I would say this solution
reminds me of a mach-up of zabbix and nagios.
7. Cacti - Non recommended. I don't remember why.



On 8/9/07, Shachar Shemesh <[EMAIL PROTECTED]> wrote:
> Oren Held wrote:
> > A friend of mine (Amnon) found Munin (http://munin.projects.linpro.no/), 
> > which
> > is a great system resource grapher tool which has plugins for almost
> > everything from swap, ntp time drifts, disk temperature - to mysql queries
> > per second.
> >
> > However, it draws graphs, I'm not sure it can send alerts. You can set 
> > limits
> > (like highest cpu temperature or free disk space) which tag the whole node
> > as "red", maybe it's even capable of notifying.. worth a check I guess.
> >
> I don't know about alerts, but I find that it is the best tool I know
> for getting the "general health" of a system. That is something no graph
> specific test can tell you, because it often involves measurements you
> did not think of before they happened.
>
> For anyone who is interested in seeing it in action, Hamakor's new
> server has it running, open for all to see: http://hamakor.org.il/munin/
>
> Shachar
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: System resource monitoring and reporting utility ?

2007-08-08 Thread Shachar Shemesh
Oren Held wrote:
> A friend of mine (Amnon) found Munin (http://munin.projects.linpro.no/), 
> which 
> is a great system resource grapher tool which has plugins for almost 
> everything from swap, ntp time drifts, disk temperature - to mysql queries 
> per second.
>
> However, it draws graphs, I'm not sure it can send alerts. You can set limits 
> (like highest cpu temperature or free disk space) which tag the whole node 
> as "red", maybe it's even capable of notifying.. worth a check I guess.
>   
I don't know about alerts, but I find that it is the best tool I know
for getting the "general health" of a system. That is something no graph
specific test can tell you, because it often involves measurements you
did not think of before they happened.

For anyone who is interested in seeing it in action, Hamakor's new
server has it running, open for all to see: http://hamakor.org.il/munin/

Shachar

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: System resource monitoring and reporting utility ?

2007-08-08 Thread Maxim Veksler
On 8/8/07, Oren Held <[EMAIL PROTECTED]> wrote:
> A friend of mine (Amnon) found Munin (http://munin.projects.linpro.no/), which
> is a great system resource grapher tool which has plugins for almost
> everything from swap, ntp time drifts, disk temperature - to mysql queries
> per second.
>

Oron, you're off by just 2 small (levenshtein distance) steps.

I've found monit to be exactly what I'm looking for, and it makes the
impression of a very quality code.

Here is the setup I'm using on a redhat 4 box, coping and pasting from
a dokuwiki format:

"""
 Installl 


cd /tmp/
wget http://dag.wieers.com/rpm/packages/monit/monit-4.9-2.el4.rf.i386.rpm
rpm -Uvh monit-4.9-2.el4.rf.i386.rpm


 Settings 

  * sed /^#/d /etc/monit.conf 
set daemon  600
set logfile syslog facility log_daemon
set mailserver aaa.bbb.ccc.ddd# primary mailserver
set mail-format { from: [EMAIL PROTECTED] }
set alert [EMAIL PROTECTED]  # receive all alerts
set httpd port 2812 and
 use address localhost  # only accept connection from localhost
 allow localhost# allow localhost to connect to the server and
 allow admin:monit  # require user 'admin' with password 'monit'
  check system localhost
if loadavg (1min) > 4 then alert
if loadavg (5min) > 2 then alert
if memory usage > 75% then alert
if cpu usage (user) > 70% then alert
if cpu usage (system) > 30% then alert
if cpu usage (wait) > 20% then alert
  check device datafs with path /dev/mapper/VolGroup00-LogVol00
if space usage > 70% for 5 times within 15 cycles then alert

"""

Reference:

http://www.debian-administration.org/articles/269
http://www.tildeslash.com/monit/index.php

> On Wednesday, 8 August 2007 17:46:48 Maxim Veksler wrote:
> > Hello list,
> >
> > I'm looking for a simple system monitoring script / utility.
> > I need to do checks like memory usage, cpu usage, hard disk usage and co.
> > I would like to email alerts if one of the check fails.
> >
> > I know SNMP traps are exactly what I'm after, oddly I haven't been
> > able find any decent project that will support this. Has anyone had
> > any experience with opennms/nagios and could point me to their client
> > side Linux agent ?
> >
> > Again, I'm after a simple and easy to setup resource watchdog utility.
> >
> > Tips will be publicly acknowledged.
> >
> > Thank you,
> > Maxim.
>
>
>


-- 
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: System resource monitoring and reporting utility ?

2007-08-08 Thread Oren Held
A friend of mine (Amnon) found Munin (http://munin.projects.linpro.no/), which 
is a great system resource grapher tool which has plugins for almost 
everything from swap, ntp time drifts, disk temperature - to mysql queries 
per second.

However, it draws graphs, I'm not sure it can send alerts. You can set limits 
(like highest cpu temperature or free disk space) which tag the whole node 
as "red", maybe it's even capable of notifying.. worth a check I guess.

On Wednesday, 8 August 2007 17:46:48 Maxim Veksler wrote:
> Hello list,
>
> I'm looking for a simple system monitoring script / utility.
> I need to do checks like memory usage, cpu usage, hard disk usage and co.
> I would like to email alerts if one of the check fails.
>
> I know SNMP traps are exactly what I'm after, oddly I haven't been
> able find any decent project that will support this. Has anyone had
> any experience with opennms/nagios and could point me to their client
> side Linux agent ?
>
> Again, I'm after a simple and easy to setup resource watchdog utility.
>
> Tips will be publicly acknowledged.
>
> Thank you,
> Maxim.



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



System resource monitoring and reporting utility ?

2007-08-08 Thread Maxim Veksler
Hello list,

I'm looking for a simple system monitoring script / utility.
I need to do checks like memory usage, cpu usage, hard disk usage and co.
I would like to email alerts if one of the check fails.

I know SNMP traps are exactly what I'm after, oddly I haven't been
able find any decent project that will support this. Has anyone had
any experience with opennms/nagios and could point me to their client
side Linux agent ?

Again, I'm after a simple and easy to setup resource watchdog utility.

Tips will be publicly acknowledged.

Thank you,
Maxim.

-- 
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]