- This agent can monitor any switch / router that has snmp enabled.
- It allows for up to 24 ports to be monitored.
- The zip includes a version that can run on a Raspberry Pi.
Install SNMP packages
- run "sudo yum install net-snmp-utils net-snmp"
Register Agent
- Login to your AIMS environment where you want to deploy the agent
- Go to settings -> agents. Copy the environment id from the environment API address at the bottom into the register-agent.sh
- To aquire your token, use basic auth and do a GET to https://api.aimsinnovation.com/api/{your_environment_id}/systems by using a HTTP client. Copy the token from the "Autorization: Basic" section to the register-agent.sh
- Select a name for your agent in the register-agent.sh
- Run "bash register-agent.sh"
- Make sure to note down the system id returned from the registration
Configure and run agent
- Open the "snmp-agent.sh" (if running on a Pi, open "pi-snmp-agent.sh")
- Modify the sections "SNMP Variables" and "AIMS Variables" with information found in step "Register Agent"
- Register a cron task that runs every minute ("crontab -e"), for instance "* * * * * bash /home/parallels/snmp-agent.sh"
Deployment to multiple switches / routers
- Register one agent per switch / router
- Create a version of "snmp-agent.sh" per switch / router
- Register individual cron jobs for each agent