[ZBX-10907] Zabbix agent interface is required to execute a remote command via SSH. Created: 2016 Jun 15  Updated: 2017 May 30  Resolved: 2016 Sep 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: 3.0.4rc1, 3.2.0alpha1

Type: Incident report Priority: Major
Reporter: Oleg Ivanivskyi Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: actions, remotecommands, ssh
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Zabbix 3.0


Issue Links:
Duplicate

 Description   

I use network discovery - SNMP based. That works fine. Then I have 50 devices registered complete with templates and stuff.
In one assigned template, I have an item that gets device uptime by snmp. I have then created a trigger like: uptime.nodata(120)
I have then created an action that do a remote command to the snmp device and resets the adaptor.
BUT Network Discovery - SNMP based, does not create an Agent based interface IP address. Which is required by Remote Commands:
ERROR: Zabbix agent interface is not defined for host



 Comments   
Comment by Viktors Tjarve [ 2016 Jul 05 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-10907

Comment by Andris Mednis [ 2016 Jul 13 ]

Successfully tested.
Please review minor changes in r61002.

viktors.tjarve Looks good.

Comment by Viktors Tjarve [ 2016 Jul 13 ]

Released in:

  • 3.0.4rc1 r61005
  • 3.1.0 r61006
Comment by Alexander Vladishev [ 2016 Aug 05 ]

Documentation:

viktors.tjarve RESOLVED

sasha It has to be described in more detail:

  1. SSH and Telnet scripts are affected
  2. the interface will be chosen according to a certain priority

REOPENED

viktors.tjarve Documentation improved with more detailed description. RESOLVED.

sasha The sentences has been reworded. martins-v, please have a look.

martins-v I've simplified the wording a little bit.

sasha It must be also documented in Remote commands with multiple interfaces section

REOPENED

martins-v Updated sections:

Please review.

sasha It is not correct. We use Zabbix agent interface for agent checks, IPMI interface - for IPMI checks and by priority - for SSH and Telnet checks. Before this fix only Agent interface can be used for SSH and Telnet checks.

I.e. behavior was changed for SSH and Telnet checks only.

REOPENED

martins-v RESOLVED

sasha Thanks! CLOSED

Comment by richlv [ 2016 Sep 26 ]

"Remote command execution via SSH and Telnet with different interface has been added" is confusing. the reader would go "different ? different from what ?"

then they would get to the second sentence - "Previously only Zabbix agent interface could be used." -"oh, you meant 'different that the zabbix agent' ?"

how about simplifying it into something like this ?
"Remote commands can now be executed via SSH and Telnet with other interfaces besides Zabbix agent interface" - but martins-v could have ideas how to put it even better

Generated at Wed Apr 24 23:27:45 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.