Monitoring a HP-UX system
Edgar Matzinger
Edgar.Matzinger at valid.nl
Tue Apr 28 20:56:08 CEST 2009
Hi Palle,
I gather that SNMP is not installed and/or not running?
> The general requirements:
> - Cannot install anything on the system - it's a validated production
> system.
OK, no problem.
> - It runs a SSH server daemon that we'd like to monitor.
To monitor the disk usage, run "ssh <server> df -kP" (assuming
passwordless login is set up), and process the output on the nagios
server itself. Similar, for other commands.
> - What I'd like to see is some way to have it connect to the specified
> port, read the banner and then just abort the connection. The purpose
> of this is that perhaps the Nagios system could read the banner response
> it gets, and if it is not what it's expected, or fails to receive a
> banner/login prompt, send an alert.
You want to have the opposite of what check_http.pl (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1531.html;d=1 <http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1531.html;d=1> ) provides... If you're up to speed with perl, you could use the telnet
module to check some TCP ports and check for their ouput.
HTH, cu l8r, Edgar.
--
|\ /| : : Addr: Valid Eindhoven B.V.
/ | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger
/ | | : : Paradijslaan 36
\ /| /\| : : 5611 KN Eindhoven
\/ / \ : Valid Eindhoven BV :
\ /\ / : :
\/ |\/ : :
| : :
Disclaimer: Any comments, opinions made are mine, etc ...
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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