Go to All Forums

Issue with attribute name for a custom plugin

I'm having some issues creating a custom plugin. It appears that any spaces in an attribute name are getting removed when displayed in the web client.

For example, using the VBScript example located here... https://www.site24x7.com/help/admin/adding-a-monitor/plugins/windows-custom-plugins.html#vb-script. If I change the "Age" attribute to "Age at hire", when displayed in the web UI it shows as "Ageathire".

Is this by design?


Like (1) Reply
Replies (4)

Re: Issue with attribute name for a custom plugin

Hi,

Yes. Spaces are stripped by design. Attribute name should contain alphanumeric and _ characters only with less than 30 characters.


Regards
Anita
Like (1) Reply

Re: Issue with attribute name for a custom plugin

That seems like a terrible limitation. That makes things almost unreadable.

For example, look at how bad the attribute names look in this example provided by Site24X7...

https://www.site24x7.com/help/images/windows-plugins4.png

Where do I submit a request to allow spaces in the attribute names for plugins?
Like (0) Reply

Re: Issue with attribute name for a custom plugin

Hi,

We will take it as a feature request and roll out the feature ASAP. 

Regards
Anita
Like (0) Reply

Re: Issue with attribute name for a custom plugin

Hi,

We now support the usage of spaces while adding an attribute name in plugins.

Read our documentation for any other assistance on writing a custom plugin. Let us know for any other queries.

 

Happy Monitoring!

Like (0) Reply

Was this post helpful?