filter log/ filenames into sw.command
[dell-switch] / sw-names
1 #!/bin/sh
2
3 # we are extracting switch names from munin config
4
5 grep '^\[snmp;sw' /etc/munin/munin.conf | cut -d';' -f2 | sed 's/\]$//'
6