rafal-szypulka / grafana-ibm-apm

Grafana datasource plugin for IBM APM
MIT License
28 stars 15 forks source link

No metrics with Agent Instace value rs41:LZ #32

Closed himuura closed 4 years ago

himuura commented 4 years ago

Please include this information:

If the agent instace value is changed to a value from the dropdown list, values are shown. If the rs41:LZ value is used instead an error pops up:

Server Response: 500, Message: ATKRST100E An unexpected error occured. The error message is as follows: 'com.ibm.usmi.console.navigator.model.NavExceptionKFWITM633E Exception: KFWITM775E Request failed due to invalid managed system(s) or resource group(s): rs41:LZ: nested exception is: com.ibm.tivoli.monitoring.provider.navmodel.ITMRuntimeException: KFWITM775E Request failed due to invalid managed system(s) or resource group(s): rs41:LZ'.

himuura commented 4 years ago

changed Agent Instance to $AgentName and it seems to be working...is it the correct way?

rafal-szypulka commented 4 years ago

Yes, this is correct, thanks for pointing this out. I fixed it in the sample dashboard.

himuura commented 4 years ago

just a quick question (to spare another post :P ) you agents dashboard detects both my AIX systems and Linux. Is it possible to get the Linux Dashboard to show both AIX and Linux? or to create a new dash using the same model as the linux dash but for aix? what needs to be changed in the JSON in order to get this?

rafal-szypulka commented 4 years ago

You would need to change multiple things in JSON because AIX is monitored with different agent type, so attribute names and attribute groups are probably different. I would make a copy of linux dashboard (save with another name in grafana), edit each panel, change agent type (select Unix OS Agent from the dropdown list), att group, and metric names and that's it.

On Thu, May 21, 2020 at 1:20 PM himuura notifications@github.com wrote:

just a quick question (to spare another post :P ) you agents dashboard detects both my AIX systems and Linux. Is it possible to get the Linux Dashboard to show both AIX and Linux? or to create a new dash using the same model as the linux dash but for aix? what needs to be changed in the JSON in order to get this?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/rafal-szypulka/grafana-ibm-apm/issues/32#issuecomment-632031204, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACY7YCOYZE6XPSXOHUAOUYLRSUE7NANCNFSM4NGXORSQ .

himuura commented 4 years ago

Thank you a lot mate!! You've been a great help!

himuura commented 4 years ago

Weird, in AIX the variable $AgentName doesnt work...any way to dinamically solve this?

rafal-szypulka commented 4 years ago

You need to change the template variable definition. Go to AIX dashboard settings -> Variables -> $AgentName variable and change the affinity from TMSAgent.%IBM.STATIC134 to TMSAgent.%25IBM.STATIC013

himuura commented 4 years ago

I cant thank you enough mate!

Rafal Szypulka notifications@github.com escreveu no dia quinta, 21/05/2020 à(s) 15:35:

You need to change the template variable definition. Go to AIX dashboard settings -> Variables -> $AgentName variable and change the affinity from TMSAgent.%IBM.STATIC134 to TMSAgent.%25IBM.STATIC013

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rafal-szypulka/grafana-ibm-apm/issues/32#issuecomment-632121253, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF24OSICWH54TO5UYML63U3RSU33HANCNFSM4NGXORSQ .