Networking: Monitoring: SNMP - eliminmax/cncs-journal GitHub Wiki
Meaning of different command prompts
Unix/Linux:$
: can be run as normal user
Unix/Linux:#
: must be run as root (or withsudo
)
Windows:>
: Command Prompt or PowerShell
Windows:PS>
: PowerShell only
Unix/Linux and Windows:$/>
,#/>
: Works in Windows and Unix/Linux.
To enable SNMP on a CentOS server, install the net-snmp-utils and net-snmp packages with yum (# yum install net-snmp-utils net-snmp -y
) and edit the configuration file at /etc/snmp/snmpd.conf to suit your needs.
To enable SNMP on a Windows server managed by AD DS, install the SNMP feature through Server Manager, and (if needed) install the associated Remote Administration Feature (i.e. SNMP-Tools) on the appropriate server. If needed, enable remote management.
- Note: To install the Remote Administration Feature locally as a Domain Admin, I had to run Server Manager as Administrator
On the server you want to manage, allow Remote Management through the firewall: PS> Set-NetFirewallRule -DisplayGroup "Remote Event Log Management" -Enabled True
To enable SNMP on a pfSense firewall/router, go to the web admin interface, and, from the Services drop-down, select SNMP. Fill in the fields with the appropriate values, save, and click the restart service button at the top of the page