Ad Widget

Collapse

SSH to a Device over Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • makemeasandwich
    Member
    • Apr 2015
    • 34

    #1

    SSH to a Device over Zabbix

    Hello,

    i want to SSH to a device over the Map feature in Zabbix.
    That means that I want a SSH terminal to open on the device so that I can directly do some configuration there.

    I saw there is a option called "Scripts" and there are already 3 Scripts included... Detect operation system, Ping, Traceroute. I now included SSH from the /usr/bin folder, I dont know if this script is the right one to do this?

    Do I need to enter the pub key of my device some where as well?

    Because I am getting an error with some path + Host verification failed.

    Thanks in advance!
    Attached Files
  • jamesNJ
    Senior Member
    • Jun 2015
    • 103

    #2
    I don't think scripts were intended to do as you would like. You run the interface from a web browser on your local machine whereas the script runs local to the host itself. If you select 'ping' it brings up a dialog with the output from ping, however no interaction is available. Hence, I think it is intended more for simple remote command execution to automate troubleshooting.

    Although being able to configure an automate a remote login like SSH, telnet, and RDP would be a cool feature to have in Zabbix; I think that would require some kind of integrated java web start or javascript page that the zabbix web front end could serve up directly.

    Comment

    • makemeasandwich
      Member
      • Apr 2015
      • 34

      #3
      Originally posted by jamesNJ
      I don't think scripts were intended to do as you would like. You run the interface from a web browser on your local machine whereas the script runs local to the host itself. If you select 'ping' it brings up a dialog with the output from ping, however no interaction is available. Hence, I think it is intended more for simple remote command execution to automate troubleshooting.

      Although being able to configure an automate a remote login like SSH, telnet, and RDP would be a cool feature to have in Zabbix; I think that would require some kind of integrated java web start or javascript page that the zabbix web front end could serve up directly.
      Yes it would be a cool feature. I also thought it is a common feature =( but I guess u are right, for ssh you will need a javascript page cuz of the interaction with the fingerprint so the zabbix web front end could serve up directly.

      I just thought its already integrated and i just didn't know how to make use of it.

      Mabye a zabbix specialist can verify if the feature is avaible or not?

      thanks a lot for your answer!!

      Comment

      • lauramariab
        Junior Member
        • Mar 2023
        • 6

        #4
        Any updates on this topic? Is zabbix planning to add some feature to connect via a host directly from the web interface by opening a SSH interactive session?

        Comment

        Working...