Forum Discussion
- Anonymous
DSIDESCRIPTION, not DSDESCRIPTION, not DPDESCRIPTION. DSI
- mnagelProfessor
Other than DSIDESCRIPTION? Of course, this is not always set and the LM token substitution system provides no option (still) for actual templating (conditionals, etc.), but it is there.
- Anonymous
When I said “not set” I meant empty. The point is the unconditional token substitution system can not deal with different results (like an empty result) effectively. Been an issue for years, just one more “lack of core system improvements” issue.
Totally agree. Wasn’t trying to disagree, just giving the link to the OP.
- Anonymous
I don’t think their documentation is right though. It says if DSI description is not available, “null” will be returned. It’s been my experience that and empty string (“”) is returned, which is worse because the token system doesn’t support templating. So you get things like “XYZ device with instance ABC with description has a value of N”.
I’m totally on board with a better templating system. Jinja2 would be my preference. it’s widely used, supported, and been around for quite a while.
- mnagelProfessor
When I said “not set” I meant empty. The point is the unconditional token substitution system can not deal with different results (like an empty result) effectively. Been an issue for years, just one more “lack of core system improvements” issue.
- nvnbsinfyNeophyte
I tried with the ##DPDESCRIPTION## & ##DSDESCRIPTION## but that is not meeting my requirements,
the instance description in the alert contains this is my wireless router or location of the device so i want to get that as part of the alert notification which is not working
Related Content
- 2 years agoAnonymous
- 2 years ago