a report to show SNMP failures
This commit is contained in:
		
							
								
								
									
										29
									
								
								share/views/ajax/admintask/timedoutdevices.tt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								share/views/ajax/admintask/timedoutdevices.tt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| [% IF NOT results.size %] | ||||
| <div class="span4 alert alert-info">No significant events to report.</div> | ||||
| [% ELSE %] | ||||
| <table id="data-table" class="table table-striped table-bordered" width="100%" cellspacing="0"> | ||||
|   <thead> | ||||
|     <tr> | ||||
|       <th class="nd_center-cell">Poller Host</th> | ||||
|       <th class="nd_center-cell">Device</th> | ||||
|     </tr> | ||||
|   </thead> | ||||
|   </tbody> | ||||
|     [% FOREACH row IN results %] | ||||
|     <tr> | ||||
|       <td class="nd_center-cell">[% row.backend | html_entity %]</td> | ||||
|       <td class="nd_center-cell"><a class="nd_linkcell" | ||||
|         href="[% uri_for('/device') %]?q=[% row.device | uri %]">[% row.device | html_entity %]</a></td> | ||||
|     </tr> | ||||
|     [% END %] | ||||
|   </tbody> | ||||
| </table> | ||||
| [% END %] | ||||
|  | ||||
| <script> | ||||
| $(document).ready(function() { | ||||
|   $('#data-table').dataTable({ | ||||
| [% INCLUDE 'ajax/datatabledefaults.tt' -%] | ||||
|   } ); | ||||
| } ); | ||||
| </script> | ||||
		Reference in New Issue
	
	Block a user