Adding Linux host to cacti for monitoring

From Notes_Wiki
Revision as of 04:05, 7 April 2014 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Cacti|Cacti</yambe:breadcrumb> =Adding linux host to cacti for monitoring= To add a linux host to cacti for monitoring use following steps: #Configure SNMP ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Cacti|Cacti</yambe:breadcrumb>

Adding linux host to cacti for monitoring

To add a linux host to cacti for monitoring use following steps:

  1. Configure SNMP server on Linux machine as explained at SNMP server configuration for Linux hosts
  2. Login into cacti web interface as admin
  3. Go to Console -> Devices and choose Add from top right corner
  4. Enter name in description and address / FQDN in Hostname
  5. Choose host template as 'Generic SNMP Enabled host'
  6. Click create
  7. On the same page after clicking create under 'Associated Graph Templates' section add following templates:
    • ucd/net - CPU Usage
    • ucd/net - Memoery Usage
    • Unix - Load average
    • Unix - Logged in users
    • Unix - ping latency
    • Unix - procesess
    and then click Save button.
  8. Click on 'Create Graphs for this host' link at top-right from page resulting after 'save'.
  9. Choose all graph templates by clicking at top-most check-box on right side
  10. Choose interesting interfaces by clicking on corresponding check-boxes from below table
  11. In 'Select a graph type:' drop down at bottom right choose 'In/Out Bytes with Total Bandwitdh'
  12. Click Create
  13. Again click Create on next page
  14. Go to Console Graph Trees
  15. Click on Add at top right corner
  16. Type name for tree, preferably same as name written in description while adding device.
  17. Click create
  18. Now click on Console -> 'Graph management'. Select Host in host drop-down menu so that only graphs related to chosen host appear.
  19. Select all graphs for this new host using check-box at top right corner
  20. From Choose an action drop-down menu choose 'Place on a tree (<description>)' to place all graphs for this host on tree created for this host.
  21. Then click go and then continue on next page.
  22. Now go to 'Graphs' and in Tree-mode click on name of new host added to see its graphs.

Note that it may take 15-20m before any reasonable current value is shown. The graphs are really useful only after at least a weeks data is collected to see if any patterns emerge.


<yambe:breadcrumb>Cacti|Cacti</yambe:breadcrumb>