close Warning: Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 4 and Version 5 of administration/cacti


Ignore:
Timestamp:
Apr 10, 2009, 11:45:44 PM (13 years ago)
Author:
greg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • administration/cacti

    v4 v5  
    55''This part needs to be done only once''
    66
    7 Create a new user named 'cacti' to run the ssh tunnels
     7Create a new user on the Cacti server named 'cacti' to run the ssh tunnels
    88{{{
    9 ###create the user and home directory -m = make home directory
     9###create the user and home directory. -m = make home directory
    1010pw useradd cacti -m
    11 ###set the password for cacti
     11###set the password for cacti and keep a safe copy.
    1212passwd cacti
    1313}}}
     
    2525Perhaps a perl or python script would be better for this.
    2626{{{
     27###Create the file from the cacti user's home directory
     28vim tunnels.sh
    2729###This should be run from the cacti server logged in as the cacti user.
    2830#!/bin/sh
     
    3537###ssh -N -L 16001:127.0.0.1:161 snmp@server2.remotesilverfilebox.com >> /home/cacti/tunnel.log &
    3638}}}
     39Make the file executable
     40{{{
     41chmod +x tunnels.sh
     42}}}
     43
    3744
    3845That's it until we have a remote host to monitor.