Ad Widget

Collapse

telnet.run

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dagun
    Member
    • Sep 2009
    • 71

    #1

    telnet.run

    Every body:
    Who can use telnet checks with zabbix-1.8
    Give me a example.Thanks.
  • tsolodov
    Member
    • Feb 2010
    • 34

    #2
    Originally posted by dagun
    Every body:
    Who can use telnet checks with zabbix-1.8
    Give me a example.Thanks.
    +1 it very interesting for me)

    Comment

    • alixen
      Senior Member
      • Apr 2006
      • 474

      #3
      Hi,

      This is a simple item setup I have done:
      Code:
      Description: mytest
      Type : TELNET Agent
      Key: telnet.run[mytest]
      User name: user 	
      Password: password
      Executed script: echo 2
      Type of information: Numeric (unsigned)
      (Replace user and password with real ones)

      It is working fine.

      Of course, you have to replace 'echo 2' in 'Executed script' by something useful.

      Hope this helps,
      Alixen
      http://www.alixen.fr/zabbix.html

      Comment

      • tsolodov
        Member
        • Feb 2010
        • 34

        #4
        Originally posted by alixen
        Hi,

        This is a simple item setup I have done:
        Code:
        Description: mytest
        Type : TELNET Agent
        Key: telnet.run[mytest]
        User name: user 	
        Password: password
        Executed script: echo 2
        Type of information: Numeric (unsigned)
        (Replace user and password with real ones)

        It is working fine.

        Of course, you have to replace 'echo 2' in 'Executed script' by something useful.

        Hope this helps,
        Alixen
        thank you)
        But if the scrip recieve very many information, how i may( examlpe mac address db of switch), parse this info? Zabbix may it do?

        ps
        sorry for my bad english)
        Last edited by tsolodov; 03-03-2010, 09:26.

        Comment

        • alixen
          Senior Member
          • Apr 2006
          • 474

          #5
          Originally posted by tsolodov
          thank you)
          But if the scrip recieve very many information, how i may( examlpe mac address db of switch), parse this info? Zabbix may it do?
          The script is run on the client. If is is a Unix/Linux system, you can use all the power of shell commands (grep, sed, awk,...) to do that.
          If it is switch or router, I am afraid that it will not be possible.
          There is no way to do any processing on Zabbix server side (it may be a good idea for an enhancement).
          May be you should look at external script instead of telnet agent to do that.


          Originally posted by tsolodov
          ps
          sorry for my bad english)
          Don't worry, english isn't my first language either

          Alixen
          http://www.alixen.fr/zabbix.html

          Comment

          Working...