Skip to content

Instantly share code, notes, and snippets.

@varnav
Last active April 16, 2021 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save varnav/7315f680a034bbe186f8a9be2d8a950f to your computer and use it in GitHub Desktop.
Save varnav/7315f680a034bbe186f8a9be2d8a950f to your computer and use it in GitHub Desktop.
Observium scan and add
# apt update && apt install -y braa parallel
sysctl -w net.core.rmem_max=26214400
cd /opt/observium
braa -d 15000 -p 300 'public'@10.240.0.1-10.240.255.254:.1.3.6.1.2.1.1.5.0 | cut -d ":" -f4 | parallel ./add_device.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment