skeldof
08-06-2008, 05:50 PM
This is more of a general query about Centreon, as I see it's present in both 1.4 and 2.
Why are the contact's contact_name and alias reversed? In nagios the contact_name is the short simple name used to refer to the object and alias the long name used elsewhere. Centreon seems to mostly ignore the contact_name after replacing spaces with underscore. Alias gets used for login and Online members.
Surely it would have made more sense to use the contact_name for login? Requiring it (and only it) to be unique and without spaces. Then use alias as a general string for the Online members list.
Is this an active design decision or an old error that is a bit late to change? ;)
I did submit a suggested patch against 1.4.2.7 to bugs (http://bugs.centreon.com/?do=details&id=511), however that will break login on any install where contact_name and alias are different. I have not looked at centreon 2's code.
Why are the contact's contact_name and alias reversed? In nagios the contact_name is the short simple name used to refer to the object and alias the long name used elsewhere. Centreon seems to mostly ignore the contact_name after replacing spaces with underscore. Alias gets used for login and Online members.
Surely it would have made more sense to use the contact_name for login? Requiring it (and only it) to be unique and without spaces. Then use alias as a general string for the Online members list.
Is this an active design decision or an old error that is a bit late to change? ;)
I did submit a suggested patch against 1.4.2.7 to bugs (http://bugs.centreon.com/?do=details&id=511), however that will break login on any install where contact_name and alias are different. I have not looked at centreon 2's code.