I don't understand the check_by_ssh plugin
Max
perldork at webwizarddesign.com
Mon Dec 8 18:49:45 CET 2008
On Fri, Dec 5, 2008 at 3:57 PM, David Dyer-Bennet <dd-b at dd-b.net> wrote:
> Having said that -- can you recommend a site that talks about SNMP and
> gives examples at the level of getting information out of a Linux box, and
> perhaps some sort of household router/WAP? It'd be good for me to learn,
> if I had some reason to hope I'd have a better outcome than the last few
> times.
Disclamer: this is not a promotion / plug of the book I helped write. Really.
http://www.nagios3book.com/nagios-3-enm/checks/
Under the checks directory you will see a number of check scripts.
As part of the book, I wrote a bunch of perl-based Net-SNMP plugins
for Nagios, some to monitor basic host metrics via the Net-SNMP agent,
a few examples of router plugins, and a few bluecoat plugins as well.
The publisher was fine with me posting them on a website we created
for anyone who wants them to be able to download them.
All work well under ePN, they use Nagios::Plugin and my subclassed
Nagios::Plugin::SNMP module along with a module I wrote specifically
for the book, which can be downloaded at
http://www.nagios3book.com/nagios-3-enm/checks/lib/
Nagios::Plugin::SNMP
is also available via CPAN.
Pretty easy to use them (in my opinion) .. all are downloadable from
the site above at no cost and without any requirements to register
etc.
Hoping to be able to release updates to them that i and my coworker
have made at work back to the Nagios community as we have made some
enhancements and fixed some bugs in them at the company i currently
work for (our manager is working on getting us permission to release
our updates back to the public).
SNMP may seem difficult but as an end user it really is not hard, just
takes some patience and i agree that there is not nearly enough
easy-to-read SNMP documentation available online, especially for
integrators.
For example, with Net-SNMP, granting read-only SNMP v2 access to all
clients via the snmpd.conf file is as simple as putting
rocommunity your-community-string
in the file and restarting the agent. use a host-based firewall to
limit who can access the SNMP polling port.
Typically the hardest part about SNMP in a project is convincing
network staff and security staff that allowing SNMP access within the
trusted zone(s) of a network isn't going to lead to every system
getting rooted.
- Max
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list