Ad Widget

Collapse

Telnet Checks (multiple commands)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zabbix_Noob123
    Junior Member
    • Oct 2018
    • 6

    #1

    Telnet Checks (multiple commands)

    Hello all,

    I'm trying to execute two commands at once using using Telnet checks. At this time i already have an existing item that telnets in my equipment and is able to grab the value. This new item I am trying to make it execute the command "enable" (to turn on privileged mode on) and then "show system syslog log"


    To sum up i have an existing item that works but when i try to create a new item with two commands i receive an error off that same equipment.


    Cannot find prompt after command execution: [4] Interrupted system call








    Any feedback would be appreciated
    Attached Files
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    According to the documentation (https://www.zabbix.com/documentation.../telnet_checks) after executing telnet command zabbix waits for the appearance of the "prompt".
    Either it doesn't recognize the return as prompt or the system doesn't really return prompt.....
    This is exactly what is written in the error.

    Comment

    • Zabbix_Noob123
      Junior Member
      • Oct 2018
      • 6

      #3
      Appreciate the feedback. Yes it looks like it doesn't recognize the "#" prompt.

      Comment

      Working...