Skip to main content

Hello,

We've set up custom scripts on our platform for mail notifications in particular, which embed links to specific hosts or services.

However, these URLs are far too busy and sometimes complicated to process because there are so many characters to escape or analyze in a script.

for example :

https://supervision.nantesmetropole.fr/centreon/monitoring/resources?details=%7B%22customTimePeriod%22%3A%7B%22end%22%3A%222024-11-15T13%3A57%3A27.979Z%22%2C%22start%22%3A%222024-11-14T13%3A57%3A27.979Z%22%7D%2C%22id%22%3A62032%2C%22resourcesDetailsEndpoint%22%3A%22%2Fcentreon%2Fapi%2Flatest%2Fmonitoring%2Fresources%2Fhosts%2F5976%2Fservices%2F62032%22%2C%22selectedTimePeriodId%22%3A%22last_24_h%22%2C%22tab%22%3A%22details%22%2C%22tabParameters%22%3A%7B%7D%7D&filter=%7B%22id%22%3A23%2C%22name%22%3A%22Test+Host%22%2C%22criterias%22%3A%5B%7B%22name%22%3A%22names%22%2C%22object_type%22%3A%22names%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22parent_names%22%2C%22object_type%22%3A%22parent_names%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22resource_types%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%7B%22id%22%3A%22host%22%2C%22name%22%3A%22Host%22%7D%5D%7D%2C%7B%22name%22%3A%22states%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22statuses%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22status_types%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22host_groups%22%2C%22object_type%22%3A%22host_groups%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22service_groups%22%2C%22object_type%22%3A%22service_groups%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22monitoring_servers%22%2C%22object_type%22%3A%22monitoring_servers%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22host_categories%22%2C%22object_type%22%3A%22host_categories%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22service_categories%22%2C%22object_type%22%3A%22service_categories%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22host_severities%22%2C%22object_type%22%3A%22host_severities%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22host_severity_levels%22%2C%22object_type%22%3A%22host_severity_levels%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22service_severities%22%2C%22object_type%22%3A%22service_severities%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22service_severity_levels%22%2C%22object_type%22%3A%22service_severity_levels%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22search%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22text%22%2C%22value%22%3A%22T-Host%22%7D%2C%7B%22name%22%3A%22sort%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22array%22%2C%22value%22%3A%5B%22status_severity_code%22%2C%22desc%22%5D%7D%5D%7D

 

Thanks,

Best Regards,

Vincent.

Updated idea statusNewIn Backlog
Idea merged into:

All the votes from this idea have been transferred.

In BacklogDuplicate