May 2015
Intermediate to advanced
278 pages
5h 34m
English
Simple Network Management Protocol (SNMP) is the standard way to monitor all your network devices. You can use Chef to install the SNMP service on your node and configure it to match your needs.
Make sure that you have a cookbook named my_cookbook and that the run_list of your node includes my_cookbook, as described in the Creating and using cookbooks, section in Chapter 1, Chef Infrastructure.
Create your Berksfile in your Chef repository including my_cookbook:
mma@laptop:~/chef-repo $ subl Berksfile
cookbook 'my_cookbook', path: './cookbooks/my_cookbook'
Let's change some attributes and install SNMP on our node:
snmp cookbook to your cookbook's ...Read now
Unlock full access