THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

Network Automation and Compliance (NetMRI)

Reply

NetMRI: Use Custom Field in Policy Rule

Authority
Posts: 4
3280     0

We have some scripts that write info to custom fields when executed. I would like to make a rule that references those custom fields, like "custom_field_x must contain a value" or "number in custom_field_x must be greater than ___." Don't see how to do this. Please advise how to reference/use custom fields in policy rules.

Re: NetMRI: Use Custom Field in Policy Rule

Superuser
Posts: 115
3281     0

Looking at a way to do it via XML rule but not sure.

 

In the meantime:

I would use a Python script to read what's in the Custom Field and it wrong then generate a custom issue, run that as a scheduled job 

 

 

 

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com

Re: NetMRI: Use Custom Field in Policy Rule

Authority
Posts: 4
3281     0

Using separate script to read that custom field and set custom issue is a workable hack, so thanks for that.

 

Not ideal to have to run such a script against thousands of devies (even if it never gets to logging into them) at least daily (schedule like "every 20 hours"), so please do look into the XML rule route. That certainly would be preferred.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You