Ad Widget

Collapse

SSH not running - non-standard port configuration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mvchris
    Junior Member
    • Mar 2012
    • 5

    #1

    SSH not running - non-standard port configuration

    Hi Zabbix Community,

    I installed 2.0.0.rc1 this morning and the zabbix server is complaining about SSH not running on itself.

    SSH does not run on port 22. It runs on port 2192.

    How do I configure this - I'm too new to understand the manual if it exists in there for the syntax atm - help is appreciated in getting a pristine install going

    Thanks
    Chris
    Last edited by mvchris; 19-03-2012, 09:10. Reason: solved
  • mvchris
    Junior Member
    • Mar 2012
    • 5

    #2
    net.tcp.service[service,<ip>,<port>] seems to be what I need to configure.

    So I've put into zabbix_agentd.conf

    UserParameter=net.tcp.service[ssh,,2192]

    But the log file says

    failed to add UserParameter "net.tcp.service[ssh": parsing error



    Using the zabbix_get commands:

    zabbix_get -s127.0.0.1 -k'net.tcp.service[ssh]'
    returns 0

    and

    zabbix_get -s127.0.0.1 -k'net.tcp.service[ssh,,2192]'
    returns 1

    So how do I make the config file always use 2192 so that my user interface is not always alerting me that SSH is not running?

    Cheers

    Comment

    • mvchris
      Junior Member
      • Mar 2012
      • 5

      #3
      Solved

      The above information is correct - net.tcp.services[ssh,127.0.0.1,2192] (which is the key to change) had to be set in the web interface.

      Configuration -> Templates -> Linux Servers -> Applications -> Items -> SSH server is running & change the key in there.

      Comment

      Working...