RSA WTD Silvertail: ValueError: Multiple pages with same base URL
2 years ago
Originally Published: 2014-07-21
Article Number
000051602
Applies To
RSA WTD Silvertail

Error message seen in /var/log/silvertail/VarzGrapher-0.log

           ValueError: Multiple pages with same base URL


varz is set up to be working
Any time you have more than one varz for the same service or component, they all must be uniquely identifiable in the nickname, or else the varz graphs will not load.
Issue
Need to access varz graphs for multibox system and do memory, traffic, and other health checks.
Nginx error when trying to access Varz from /system page
Varz won't load.
Resolution

This can happen when you have more than one machine set up to do the same role as another machine, such as making a DR server,

and the Varz nickname is duplicated.

Example: you have serverA and serverB both run mitigator. Varz graphs have Mitigator-0 and another Mitigator-0. Varz will fail with a Value error. Change the second Varz nickname to Mitigator-0-serverB and save and push the change, this will remedy the problem.

 

Check Silvercat-Varz section, and ensure all varz sections have unique nicknames. 

If any nicknames are identical change one of them. It is suggested to change the name to something which identifies the machine this Varz graph is for.

These nicknames become the hyperlinks that are presented at the very top of the Varz page when you first access it. The system will not allow duplicate names.