Hi.
I'm modifying the <grouping> tag from
/usr/share/icinga-web/app/modules/Cronks/data/xml/grid/icinga-service-template.xml
in order to group services based on "host_alias" instead of "host_name".
The original code looks like this:
<grouping>
<parameter name="enabled">true</parameter>
<parameter name="field">host_name</parameter>
<parameter name="Ext.grid.GroupingView">
<parameter name="hideGroupedColumn">true</parameter>
</parameter>
</grouping>
And my guess is to change host_name for host_alias. Thus:
<grouping>
<parameter name="enabled">true</parameter>
<parameter name="field">host_alias</parameter>
<parameter name="Ext.grid.GroupingView">
<parameter name="hideGroupedColumn">true</parameter>
</parameter>
</grouping>
However this change doesn't take effect. Hostname grouping always applies no
matter what you type in there. After every change I've cleaned icinga-web cache
executing:
/usr/lib/icinga-web/bin/clearcache.sh
I know this is the right place to touch, because if I change <parameter
name="enabled">true</parameter> for <parameter name="enabled">false</parameter>
grouping feature is disabled and all services are shown as a unique list.
What am I missing?
Thank you!
Andrés
Andrés González
Systems & Infrastructures Supervisor @ Vivocomtech
T. +34 91 542 8424 ext. 110
F. +34 91 542 8445
@. [email protected]
Skype. ruidoboy
Follow us on Facebook
******VivoCom Confidentiality and Security Notice******
This e-mail message is CONFIDENTIAL and may contain legally privileged
information. If you are not the intended recipient you should not read, copy,
distribute or disclose this e-mail or otherwise use the information in this
e-mail. Please telephone, e-mail or fax us immediately and delete the message
from your system. The addressee cannot use or quote this e-mail other than for
the referenced matter. Security Warning: e-mail is susceptible to delivery
failures which may result in non-delivery or delayed delivery, and is also
susceptible to data corruption, interception and unauthorised amendment, and we
do not accept liability for any of the above or the consequences thereof.
Viruses: Although we have taken steps to ensure that this email and attachments
are free from any virus, we advise that in keeping with good computing practice
the recipient should ensure they are actually virus free.
Este e-mail es CONFIDENCIAL y puede contener información legalmente
privilegiada. Si usted no es el destinatario al que va dirigido, no debe leer,
copiar, distribuir o comunicar este mensaje, ni hacer uso de la información que
contiene. Por favor, llámenos o mándenos un fax o un e-mail y borre este
mensaje de su sistema. El destinatario sólo puede usar o citar este e-mail para
el asunto mencionado en la referencia. Advertencia de seguridad: los e-mail
están expuestos a fallos de envío que pueden dar lugar a que no lleguen a su
destinatario o lo hagan con retraso; también están expuestos a corrupciones de
su contenido, y pueden ser interceptados o modificados por terceros no
autorizados; esta Firma no se hace responsable de ninguno de dichos problemas,
ni de las consecuencias que puedan causar. Virus: aunque hemos tomado medidas
para asegurarnos de que este correo electrónico y los archivos adjuntos estén
libres de virus, recomendamos que, de acuerdo con las buenas prácticas
informáticas, el receptor se asegure de que realmente están libres de virus.
*********[http://www.vivocom.eu] *****************
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users