Command execution on Cisco routers

Russell Adams RLAdams at Kelsey-Seybold.com
Thu Sep 30 22:17:32 CEST 2004


Perhaps use Expect?

Russell

On Thu, Sep 30, 2004 at 10:10:58PM +0200, Horvath Tamas wrote:
> Hi members!
> 
> I would like to run some commands on Cisco routers via Nagios. I'm going 
> to write a simple shell script as a Nagios plug-in, but I've didn't 
> managed to handle Telnet interactive behavior (give it automatically the 
> username and password) yet.
> 
> I need this method, because I don't do what I want via SNMP. I can use 
> Telnet, because I access our routers via IPSec VPN, but I can use SSH as 
> well, if someone know a working solution for SSH.
> 
> Did someone managed to do this?
> 
> Any help would be appreciate!
> 
> Thanks, Tamas!
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> 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: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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