remote checks without local nagios clients?
Tedman Eng
teng at dataway.com
Wed Nov 10 21:41:41 CET 2004
You can create your own rather easily using perl or shell wrapper around ssh
(or check_by_ssh) and parsing output. I currently have ssh-based checks
using output from "df -k" and "vmstat" executed w/o plugins on the remotes.
I think I might have originally used one of the contrib scripts as a
template.
-----Original Message-----
From: craig [mailto:craigc at nortelnetworks.com]
Sent: Tuesday, November 09, 2004 7:37 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] remote checks without local nagios clients?
I am not allowed to install nagios software on the remote hosts (remote
ssh keys are okay).
I can connect via ssh.
We do not run SNMP on the remote hosts.
I can do something like this from the nagios server:
./check_by_ssh -H 192.168.1.10 -4 -2 -C /usr/bin/uptime
returns this:
10:04am up 35 day(s), 21:27, 1 user, load average: 0.00, 0.00, 0.01
>From what I can tell, "check_by_ssh" is supposed to call a nagios plugin
installed on the remote host.
Do I need to create a perl plugin to either call "check_by_ssh" and
parse output or make the ssh connection directly and parse output?
Or even better, does anyone have sample scripts they already use?
I have looked at push_check by jjoseph, but that seems to push software
to the remote system.
Big Brother has this from www.deadcat.net
"bb-central-1.5c.tar.gz
A set of extension scripts that allows monitoring of Big Brother UNIX
clients, without the need of locally installed Big Brother clients. All
is needed is ssh or rsh to regularly poll a client host and obtain the
information desired. Supports load average, disk, swap, procs and msgs.
Allows for local extensions, as well. Sample included local entensions:
Mail Queue, Disk I/O, Memory, and CPU modes."
Does something similar exist for nagios?
Thanks
Craig
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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