Show
Ignore:
Timestamp:
07/23/08 18:15:30 (4 months ago)
Author:
dduponchelle
Message:

Events Logs monitoring updated to solve load cpu problem. (#90)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/centreon/www/include/eventLogs/log.xsl

    r5226 r5859  
    1515                                                <td> 
    1616                                                                        <xsl:element name='input'> 
    17                                                                                 <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form); return false;</xsl:attribute> 
     17                                                                                <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form, ''); return false;</xsl:attribute> 
    1818                                                                                <xsl:attribute name="name">notification</xsl:attribute> 
    1919                                                                                <xsl:attribute name="type">checkbox</xsl:attribute> 
     
    2727                                                <td> 
    2828                                                                        <xsl:element name='input'> 
    29                                                                                 <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form); return false;</xsl:attribute> 
     29                                                                                <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form, ''); return false;</xsl:attribute> 
    3030                                                                                <xsl:attribute name="name">alert</xsl:attribute> 
    3131                                                                                <xsl:attribute name="type">checkbox</xsl:attribute> 
     
    4141                                                <td> 
    4242                                                                        <xsl:element name='input'> 
    43                                                                                 <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form); return false;</xsl:attribute> 
     43                                                                                <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form, ''); return false;</xsl:attribute> 
    4444                                                                                <xsl:attribute name="name">error</xsl:attribute> 
    4545                                                                                <xsl:attribute name="type">checkbox</xsl:attribute> 
     
    6363                                                <td> 
    6464                                                                        <xsl:element name='input'> 
    65                                                                                 <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form); return false;</xsl:attribute> 
     65                                                                                <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form, ''); return false;</xsl:attribute> 
    6666                                                                                <xsl:attribute name="name">up</xsl:attribute> 
    6767                                                                                <xsl:attribute name="type">checkbox</xsl:attribute> 
     
    7575                                                <td> 
    7676                                                                        <xsl:element name='input'> 
    77                                                                                 <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form); return false;</xsl:attribute> 
     77                                                                                <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form, ''); return false;</xsl:attribute> 
    7878                                                                                <xsl:attribute name="name">down</xsl:attribute> 
    7979                                                                                <xsl:attribute name="type">checkbox</xsl:attribute> 
     
    8989                                                <td> 
    9090                                                                        <xsl:element name='input'> 
    91                                                                                 <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form); return false;</xsl:attribute> 
     91                                                                                <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form, ''); return false;</xsl:attribute> 
    9292                                                                                <xsl:attribute name="name">unreachable</xsl:attribute> 
    9393                                                                                <xsl:attribute name="type">checkbox</xsl:attribute> 
     
    111111                                                <td> 
    112112                                                                        <xsl:element name='input'> 
    113                                                                                 <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form); return false;</xsl:attribute> 
     113                                                                                <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form, ''); return false;</xsl:attribute> 
    114114                                                                                <xsl:attribute name="name">ok</xsl:attribute> 
    115115                                                                                <xsl:attribute name="type">checkbox</xsl:attribute> 
     
    123123                                                <td> 
    124124                                                                        <xsl:element name='input'> 
    125                                                                                 <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form); return false;</xsl:attribute> 
     125                                                                                <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form, ''); return false;</xsl:attribute> 
    126126                                                                                <xsl:attribute name="name">warning</xsl:attribute> 
    127127                                                                                <xsl:attribute name="type">checkbox</xsl:attribute> 
     
    137137                                                <td> 
    138138                                                                        <xsl:element name='input'> 
    139                                                                                 <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form); return false;</xsl:attribute> 
     139                                                                                <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form, ''); return false;</xsl:attribute> 
    140140                                                                                <xsl:attribute name="name">critical</xsl:attribute> 
    141141                                                                                <xsl:attribute name="type">checkbox</xsl:attribute> 
     
    149149                                                <td> 
    150150                                                                        <xsl:element name='input'> 
    151                                                                                 <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form); return false;</xsl:attribute> 
     151                                                                                <xsl:attribute name="onClick">log_4_host('<xsl:value-of select="//opid"/>', this.form, ''); return false;</xsl:attribute> 
    152152                                                                                <xsl:attribute name="name">unknown</xsl:attribute> 
    153153                                                                                <xsl:attribute name="type">checkbox</xsl:attribute>