adagios icon indicating copy to clipboard operation
adagios copied to clipboard

Service assigned to only a hostgroup or servicegroup does not render the commandline

Open jandrunas opened this issue 10 years ago • 4 comments

If you create a service and don't assign it to any hosts, and only a host group or service group, when you go to the Monitoring tab for the service it doesn't render the Command Line or Expanded Command Line boxes.

Looking at the javascript console I see

jquery-1.9.1.min.js:5 sendjquery-1.9.1.min.js:5 b.extend.ajaxpynag.js:340 adagios.rest.pynag.check_commandadagios_status.js:163 self.generate_input_fields-8607336800809462953:3326 (anonymous function)jquery-1.9.1.min.js:3 cjquery-1.9.1.min.js:3 p.fireWithjquery-1.9.1.min.js:3 b.extend.readyjquery-1.9.1.min.js:3 H

error: [object Object] adagios_status.js:334self.error adagios_status.js:243(anonymous function) jquery-1.9.1.min.js:3c jquery-1.9.1.min.js:3p.fireWith jquery-1.9.1.min.js:5k jquery-1.9.1.min.js:5r

jandrunas avatar Dec 19 '14 18:12 jandrunas

Which version of pynag/adagios ? There were some fixes related to this already in the testing repositories.

palli avatar Dec 21 '14 18:12 palli

pynag --version 0.9.1

Adagios version: 1.6.1. Latest: 1.6.1

Not sure how to get the exact rev, but it is installed from pip

jandrunas avatar Dec 22 '14 18:12 jandrunas

Yes this issues exists on the current release branch which you are on.

dnewsholme avatar Jan 02 '15 13:01 dnewsholme

This issue is still a problem.

A work around is adding a host when creating the service, save, then set check command, remove host and save again.

mortenf avatar Apr 21 '16 21:04 mortenf