On Tue, Jul 22, 2008 at 6:26 PM, Mark Young <[EMAIL PROTECTED]> wrote:
>
> On Jul 22, 2008, at 7:56 AM, Sean Carolan wrote:
> > I have heard that check_by_ssh can cause a lot of overhead on large
> > networks where there are many checks going on at the same time. Can
> > anyone give some practical numbers here? I have about 160 machines
> > that need to be monitored, most of them will simply have the basic
> > CPU/Disk/Memory monitoring. I would think that on a small network
> > like this it should not be a major problem.
>
[ "`stat /tmp/delta_perc.log | egrep Modify | awk '{print $3}' | cut -d.
-f1 | date +%s`" -lt "`date +%s`" ] && \
echo "[`date +%s`] PROCESS_SERVICE_CHECK_RESULT;host1;Log File Age;2;Lower
Than" >> /usr/local/nagios/var/rw/nagios.cmd
One liner cron plugin. 2 cents... ;)
>
>
> You should no problem if you are running on decent hardware since
> don't have that many hosts and only a few services will be checked
> with SSH. NRPE is definitely the preferred method for running remote
> checks. With each SSH check you are creating a new tunnel, logging
> onto a remote machine as the user you setup, running the command,
> waiting for output, and closing the connection. Plus you are normally
> creating a public ssh key that allows for password-less log on. You
> can see where there are both performance and security concerns.
>
> Check_by_ssh will work fine but I would at least take a took at NRPE.
> The difference in setting it up may be smaller than you think since
> you will have to touch each machine to install the plugins no matter
> what you decide.
>
>
> >
> > Nice. I really appreciate the help. Nagios will soon be replacing
> > the feature-challenged monitoring software we are using now for Linux
> > machines.
>
> Good to hear and good luck! :-)
>
>
> Mark Young
> ___
> Nagios Enterprises, LLC
> Web: www.nagios.com
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null