<br clear="all">Hi,<br><br>I'd like to have the tactical overview giving colors more meaningful as yellow for warning and orange for unknown. I have seen a tac.c file on Nagios Exchange but i failed to compile it. Is it compatible with nagios 
1.3 ?<br>The compile time gives that :<br>linuxserver:/usr/local/nagios/cgi# gcc -o tac.cgi2 tac.c<br>tac.c:66: error: syntax error before '*' token<br>tac.c:66: warning: data definition has no type or storage class<br>tac.c
:67: error: syntax error before '*' token<br>tac.c:67: warning: data definition has no type or storage class<br>tac.c: In function 'main':<br>tac.c:220: error: 'READ_ALL_STATUS_DATA' undeclared (first use in this function)
<br>tac.c:220: error: (Each undeclared identifier is reported only once<br>tac.c:220: error: for each function it appears in.)<br>tac.c: In function 'analyze_status_data':<br>tac.c:393: error: 'servicestatus' undeclared (first use in this function)
<br>tac.c:393: error: 'temp_servicestatus' undeclared (first use in this function)<br>tac.c:395: error: 'hoststatus' undeclared (first use in this function)<br>tac.c:395: error: 'temp_hoststatus' undeclared (first use in this function)
<br>tac.c:437: error: 'SERVICE_OK' undeclared (first use in this function)<br>tac.c:437: error: 'SERVICE_RECOVERY' undeclared (first use in this function)<br>tac.c:445: error: 'SERVICE_WARNING' undeclared (first use in this function)
<br>tac.c:447: error: 'HOST_DOWN' undeclared (first use in this function)<br>tac.c:447: error: 'HOST_UNREACHABLE' undeclared (first use in this function)<br>tac.c:468: error: 'SERVICE_UNKNOWN' undeclared (first use in this function)
<br>tac.c:491: error: 'SERVICE_CRITICAL' undeclared (first use in this function)<br>tac.c:514: error: 'SERVICE_PENDING' undeclared (first use in this function)<br>tac.c:592: error: 'HOST_UP' undeclared (first use in this function)
<br>tac.c:636: error: 'HOST_PENDING' undeclared (first use in this function)<br>tac.c: In function 'find_hosts_causing_outages':<br>tac.c:685: error: 'hoststatus' undeclared (first use in this function)<br>tac.c:685: error: 'temp_hoststatus' undeclared (first use in this function)
<br>tac.c:697: error: 'HOST_UP' undeclared (first use in this function)<br>tac.c:697: error: 'HOST_PENDING' undeclared (first use in this function)<br>tac.c: In function 'is_route_to_host_blocked':<br>tac.c:800: error: 'hoststatus' undeclared (first use in this function)
<br>tac.c:800: error: 'temp_hoststatus' undeclared (first use in this function)<br>tac.c:816: error: 'HOST_UP' undeclared (first use in this function)<br>tac.c:816: error: 'HOST_PENDING' undeclared (first use in this function)
<br>tac.c: In function 'display_tac_overview':<br>tac.c:1046: error: 'HOST_DOWN' undeclared (first use in this function)<br>tac.c:1047: error: 'HOST_UNREACHABLE' undeclared (first use in this function)<br>tac.c:1048: error: 'HOST_UP' undeclared (first use in this function)
<br>tac.c:1049: error: 'HOST_PENDING' undeclared (first use in this function)<br>tac.c:1186: error: 'SERVICE_CRITICAL' undeclared (first use in this function)<br>tac.c:1187: error: 'SERVICE_WARNING' undeclared (first use in this function)
<br>tac.c:1188: error: 'SERVICE_UNKNOWN' undeclared (first use in this function)<br>tac.c:1189: error: 'SERVICE_OK' undeclared (first use in this function)<br>tac.c:1190: error: 'SERVICE_PENDING' undeclared (first use in this function)
<br>tac.c:1311: error: 'SERVICE_RECOVERY' undeclared (first use in this function)<br><br>Thanks for support.<br><br>-- <br>Le bon sens est la chose du monde la mieux partagée.