Unix Web Hosting for Developers

Unix - Unix Like Operating Systems

A trap is where the system will send

Filed under: Guide To FreeBSD — webmaster @ 9:03 am

A trap is where the system will send a notice to another system when a MIB is set or unset. We aren’t using them. Answer n. ………………………………………………………………………………………. **************************************** *** Beginning monitoring setup *** **************************************** Do you want to configure the agent’s ability to monitor various aspects of your system? (default ………………………………………………………………………………………. We aren’t using process monitoring right now, but we will monitor disk space. Answer y to both the preceding question and the following one. ………………………………………………………………………………………. Do you want to configure the agents ability to monitor disk space? (default = y): Configuring: disk Description: Check for disk space usage of a partition. The agent can check the amount of available disk space, and make sure it is above a set limit. disk PATH [MIN=100000] PATH: mount path to the disk in question. MIN: Disks with space below this value will have the Mib’s errorFlag set. Can be a raw byte value or a percentage followed by the % symbol. Default value = 100000. The results are reported in the dskTable section of the UCD-SNMP-MIB tree Enter the mount point for the disk partion to be checked on: /usr Enter the minimum amount of space that should be available on /usr: 10% Finished Output: disk /usr 10% ………………………………………………………………………………………. Enter each partition you have on your system above. If you’re unsure, check /etc/fstab or df(1). Generally speaking, it’s a good idea to warn the user if the system has less than 10 percent free space on any one partition. ………………………………………………………………………………………. Do you want to configure the agents ability to monitor load average? (default = y): n Do you want to configure the agents ability to monitor file sizes? (default = y): n ………………………………………………………………………………………. We aren’t monitoring load average or file size, so answer n to the previous two questions. You can set this up later when you understand more about SNMP and monitoring. ………………………………………………………………………………………. The following files were created: snmpd.conf installed in /usr/local/share/snmp # Stop and start snmpd to read the new configuration. # killall snmpd && snmpd # ………………………………………………………………………………………. Congratulations! You now have a complete SNMP configuration. Break out snmpwalk and see what 440

Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost PHP Web Hosting services

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.

Powered by Unix Web Hosting