I have an appliance that I cannot install anything on. However I can connect 
via ssh. I can run remote commands with check_by_ssh, eg

check_by_ssh -H hmc -C "lsled -m ratbat -r sa -t phys" -l hscroot -s 
/home/nagios/.ssh/id_rsa

This checks my HMC for the status of the attention LED on an AIX box.

However, whatever the option is it comes back as OK in nagios. Is there a way 
to use check_by_ssh to check for a specific word?

Also, the list active/deactive systems command puts each system on a separate 
line, which I would rather all be in one continuous line.

It is not possible to write anything to the remote machine.

Regards

B


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to