bc437d2b362d393e13cd5348ddb16f1c191e6a2b
[freeside.git] / httemplate / misc / process / nms-add_router.html
1 <% header('Router added') %>
2 </BODY></HTML>
3 <%init>
4
5 # XXX: access rights
6
7 my $host = $cgi->param('host'); 
8 die 'invalid host' unless $host =~ /^[0-9.a-zA-Z\-]+$/;
9
10 my $nms = new FS::NetworkMonitoringSystem;
11 $nms->add_router($host);
12
13 </%init>