Creating a Complex Data Source to check the Interface Description and then the state of an interface to generate an alert.
The plan is on our switches we include "MO-CRIT" in the description if we want to generate an alert within LogicMonitor, it is fairly obvious to me that we need to create the datasource using Groovy which I have done, but when ever I run I get the following for the data source "Exception=No Such Property: output for class: Scriptnnn
I have set up the variable name IntName and have tried the system.instanceDescription and the auto.interface.alias nether seem to work
def IntName=taskProps.get('system.instanceDescription') (I have tried instanceProps.get)
Any suggestions.
SteveBamford
Posted 4 years ago·Last reply 4 years ago
2 comments
SteveBamford
OP4 years agoGreat followed this through and looks to be working, just need to test the datapoint alert now in our test environment, but this seems to fit the bill a lot simpler than I was trying to do it, thanks very much :)/emoticons/smile@2x.png 2x" title=":)" width="20" />