Updating snmp

by  |  03-May-2020 01:30

As most of my Raspberry Pi cards are used headless - i.e.

without a keyboard or monitor - I wanted to monitor what was happening remotely.

It is important that the program or script not respond to a "get-next" command if it is returning only one variable and, of course, the set command would do nothing when measuring a temperature.

Use the nano editor to create a script named snmp-cpu-temp (or whatever) in your default directory: Having got that part working, you need to copy the script to a location where the SNMP software can find it.

You could also install MRTG on the Raspberry Pi itself.

Community Discussion