<%doc> Devices in 'SNMP_Down' state <%attr> title => 'Devices in SNMP Down State' section => 'Reports' <%args> <%init> my $DEBUG = 0; if ( $DEBUG ){ print '%ARGS is
', Dumper(%ARGS), '

'; } my @devices = Device->search(snmp_down=>1);
Devices in 'SNMP Down' State
% if( @devices ){ <& ../generic/sortresults.mhtml, table => 'Device', object=>\@devices, view => "row", withdelete => 1, withedit => 1 &> % }else{ None % }