Make sure Kaseya can see your newly configured Linux machine as an SNMP device.If you want to start from the simple SNMP Set that I created, you can download it from the bottom of this article, import it into Kaseya, and pick up at step 8. These are the steps to do that from scratch. this article).įinally, set up the SNMP monitoring set in Kaseya. Update : at least on CentOS, memTotalFree is the sum of memAvailReal + memAvailSwap and seems like a more commonly-used basis for determining available memory (cf. Divide that total by memTotalReal and you would have percent free. My understanding is that “free” memory is made up of memAvailReal + memBuffer + memCached (buffer and cached are used by the operating system but could be allocated to programs if necessary). Besides the SNMP results, you can try the free and cat /proc/meminfo commands to see how memory is allocated. It’s no easy feat to calculate Linux memory usage.The “new” way is to use ssCPURawIdle, but that returns ticks per CPU, which means you have to calculate the percentage ( here’s how), and the calculation may differ on different machines. ssCPUIdle is deprecated, but it’s exactly what I want: average CPU percent idle in the past minute.I only want the / (root) disk, which in the SNMP tree ends in. I just wanted to monitor the basics (disk space, CPU, and memory), so here is what I chose to use: There are lots of nodes in UCD SNMP MIB for performance monitoring, as you can see in this reference. Remember to click on Apply Configuration to apply the changes! If your Linux machine is open to the Internet, lock this down to a specific subnet or even to the machine where the Kaseya agent is running. Use WebMin to configure the Linux Firewall to accept inbound UDP connections on port 161.Test memory statistics by typing this command:.Test ssCPUIdle (percent) by typing this command:. Test dskPercent values by typing this command:.Start the SNMP daemon (snmpd) and set it to start automatically when Linux starts:.Note that you must have either a disk or includeAllDisks entry if you want to be able to monitor disk statistics! (See here.) I only want to monitor the / (root) disk so I used disk. Rocommunity mycommunityname #read-only V1/V2 community This can get very involved, but I found that I was able to use a fairly simple file:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |