![]() ![]() NET-SNMP-EXTEND-MIB::nsExtendOutLine."undervoltage-flag". NET-SNMP-EXTEND-MIB::nsExtendOutLine."undervoltage-flag".1 = STRING: Voltage good NET-SNMP-EXTEND-MIB::nsExtendOutLine."undervoltage".2 = STRING: 0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."undervoltage".1 = STRING: Voltage good NET-SNMP-EXTEND-MIB::nsExtendOutLine."gputemp".1 = STRING: 49.4 NET-SNMP-EXTEND-MIB::nsExtendOutLine."cputemp".1 = STRING: 49.388 Replace “public” with your community string ~]$ snmpwalk -v 1 -c public my.pi.ip.address nsExtendOutLine Systemctl enable -now rvice Testing the snmp using net-snmp-utils If you desire to run your Pi without the SD-Card you might tweak the /boot/config.txt once again, to prevent the CPU from pointless burning cycles while searching for the SD-Card. Save your changes and execute usermod -a -G video Debian-snmp The USB SSD needs to be flashed via the Raspberry Pi Imager with the same image as the SD-Card before and is now the default device at the next boot time. Note the community string is case sensitive. Replace the word “public” with different community string. Rocommunity6 public default -V systemonly 1.3.6.1.2.1.25.2.3.1įind the line near the top of the file that reads agentaddress 127.0.0.1,Ĭhange it to read gentaddress udp:161,udp6::161įind the lines: rocommunity public default -V systemonly If you want to be able to monitor the storage usage and memory via snmp/cacti add the following line view systemonly included. If you want to be able to monitor the network interfaces via snmp/cacti, add the following line view systemonly included. Sudo chmod 775 /usr/local/sbin/undervoltageĮdit the file /etc/snmp/nf file and add the following lines to the end extend cputemp /usr/local/sbin/cputempĮxtend gputemp /usr/local/sbin/undervoltageĮxtend gputemp /usr/local/sbin/undervoltage-flag Sudo chmod 775 /usr/local/sbin/undervoltage-flag 0 Comments Our expert specialists are capable of handling any domestic or company plumbing task, despite its size. Set the permissions on the above files sudo chmod 775 /usr/local/sbin/cputemp RaspianĬreate a file named /usr/local/sbin/cputemp #!/bin/bashĬpu=$(
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |