Ad Widget

Collapse

"Item with key "ssh.run[hostname.command]" already exists" error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yatta
    Member
    • Feb 2022
    • 82

    #1

    "Item with key "ssh.run[hostname.command]" already exists" error

    Hi,
    I'm trying to execute 2 different script and create an alerts regarding to their exit codes.

    So I created a new template, an Item then a trigger. I added that one script(check.sh) to that Item. So far it's ok.

    Click image for larger version  Name:	Capture1.jpg Views:	0 Size:	76.2 KB ID:	443380


    But if I want to create a second Item with the second script, it gives "Item with key "ssh.run[hostname.command]" already exists"" error.

    Click image for larger version  Name:	Capture2.jpg Views:	0 Size:	66.2 KB ID:	443381

    So basically I can't execute 2 scripts in same hosts?

    Any idea how can I solve this?
  • yatta
    Member
    • Feb 2022
    • 82

    #2
    Solved with different key. Thanks!

    Comment

    Working...