Hi Team,
do we have any feasibility or default script which help us to login as ssh to network device such as (Cisco/firewall/ switches and routers)
SSH from nagios to Network device switch and routers
-
informatica
- Posts: 99
- Joined: Thu Jan 28, 2021 9:55 pm
Re: SSH from nagios to Network device switch and routers
Hi,
Yes XI has that ability. There is an SSH proxy wixard. Here is some documentation regarding it:
http://192.168.23.82/nagiosxi/config/?x ... wizard.php
An here's an example of the command attempting to SSH to a switch that I don't have my public key on
Thanks
Yes XI has that ability. There is an SSH proxy wixard. Here is some documentation regarding it:
http://192.168.23.82/nagiosxi/config/?x ... wizard.php
An here's an example of the command attempting to SSH to a switch that I don't have my public key on
You do not have the required permissions to view the files attached to this post.
-
informatica
- Posts: 99
- Joined: Thu Jan 28, 2021 9:55 pm
Re: SSH from nagios to Network device switch and routers
Do we have any other way using some other script???
Re: SSH from nagios to Network device switch and routers
Hi,
I took a look on Nagios Exchange and came back with 0 hits for SSH, so what I
showed you is all we have.
Do you need anything else?
Thanks
I took a look on Nagios Exchange and came back with 0 hits for SSH, so what I
showed you is all we have.
Do you need anything else?
Thanks
-
informatica
- Posts: 99
- Joined: Thu Jan 28, 2021 9:55 pm
Re: SSH from nagios to Network device switch and routers
Do we have any another way to establish the ssh connection to network device switch/routers, could you please help ?
Re: SSH from nagios to Network device switch and routers
Hi,
Sorry for not understanding but could you please tell me exactly what you are trying to do?
For example - do you want the Nagios XI server to connect to a Cisco switch via SSH? If so, what would the connection be used for?
Are there specific things you want the Nagios XI server to monitor?
Any additional details you can provide would be very helpful.
A colleague showed me this plugin:
Is that something that is closer to what you are looking for?
Thanks
Sorry for not understanding but could you please tell me exactly what you are trying to do?
For example - do you want the Nagios XI server to connect to a Cisco switch via SSH? If so, what would the connection be used for?
Are there specific things you want the Nagios XI server to monitor?
Any additional details you can provide would be very helpful.
A colleague showed me this plugin:
Code: Select all
check_cisco_ssh_user_login 1.0
What it does
* Using state of the art non-blocking/async IO (EV and Mojolicious)
* Proper error handling !
* Login via SSH (hostname, username, password)
* Issue command "show users"
* Parse the output and find the user which we use for the connection
* Disconnect properly (no needless log violations in the cisco device)
* Return the correct exit value according to the output or errors (ssh->error)
* Tested with linux, darwin(osx), freebsd and openbsd (Could work with other derivates too !)Thanks