[root@localhost mactrack]# php poller_mactrack.php -v
Network Mac Tracker Master Process Control Version 1.0, Copyright 2005 - Larry Adams
usage: poller_mactrack.php [-sid=site_id] [-d] [-h] [--help] [-v] [--version]
-sid=site_id - the mac_track_sites site_id to scan
-f - Force the execution of a collection process
-d - Display verbose output during execution
-v --version - Display this help message
-h --help - display this help message
[root@localhost mactrack]# php poller_mactrack.php -f -d
DEBUG: About to enter MacTrack poller processing
DEBUG: Into Processing. Checking to determine if it's time to run.
DEBUG: Checking if user changed the start time
DEBUG: Checking if user changed the maintenance time
DEBUG: The next run time has been determined to be at '2010-02-20 1:00:00'
DEBUG: The next database maintenance run time has been determined to be at '2010-02-20 0:00:00'
DEBUG: Either a scan has been forced, or it's time to check for macs
DEBUG: CMD: /usr/bin/php -q /var/www/html/plugins/mactrack/mactrack_scanner.php -id=1 -d
DEBUG: CMD: /usr/bin/php -q /var/www/html/plugins/mactrack/mactrack_scanner.php -id=2 -d
DEBUG: CMD: /usr/bin/php -q /var/www/html/plugins/mactrack/mactrack_scanner.php -id=3 -d
DEBUG: A process cycle launch just completed.
DEBUG: Waiting on 1 to complete prior to exiting.
DEBUG: Waiting on 0 to complete prior to exiting.
DEBUG: Interum IP addresses to MAC addresses association pass complete.
DEBUG: MAC addresses to Vendor MACS association pass complete.
DEBUG: MAC VLAN's in VLAN Table Updated.
DEBUG: Finished transferring scan results to main table.
DEBUG: Finished updating site table with collection statistics.
02/19/2010 09:47:18 PM - SYSTEM MACTRACK STATS: Time:6.1289 ConcurrentProcesses:7 Devices:3
[root@localhost mactrack]#
2010年2月19日 星期五
CactiEZ 0.6 Install
I. Install
1. Insert CactiEZ 0.6 CD
2. Boot from CDROM
3. The Boot CD will erase all Partition on Current Harddisk and install new Centos 4.8 and Cacti 0.87.
4. remove CDROM and system will reboot.
5. we already has new Cacti system in this PC.
II. Config
1. Login username root with Password CactiEZ.
2. After Login, Please ASAP Change Password, use Command passwd.
3. change eth0 IP, use Command netconfig eth0.
4. change hostname, use Command vi to edit /etc/hosts.
5. change timezone, use below command:
[root@cactiez etc]# vi /etc/sysconfig/clock
modify clock file to :
ZONE="Asia/Taipei"
UTC=false
ARC=false
[root@cactiez etc]# mv localtime localtime-old
[root@cactiez etc]# ls /usr/share/zoneinfo/Asia/Taipei/usr/share/zoneinfo/Asia/Taipei
[root@cactiez etc]# ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime
6. use command yum update , to update your system.
7. reboot.
III. first time to use your Cacti system
1. use Browser ie. firefox or ie to connect Cacti host ip.
2. logon username admin with password admin.
1. Insert CactiEZ 0.6 CD
2. Boot from CDROM
3. The Boot CD will erase all Partition on Current Harddisk and install new Centos 4.8 and Cacti 0.87.
4. remove CDROM and system will reboot.
5. we already has new Cacti system in this PC.
II. Config
1. Login username root with Password CactiEZ.
2. After Login, Please ASAP Change Password, use Command passwd.
3. change eth0 IP, use Command netconfig eth0.
4. change hostname, use Command vi to edit /etc/hosts.
5. change timezone, use below command:
[root@cactiez etc]# vi /etc/sysconfig/clock
modify clock file to :
ZONE="Asia/Taipei"
UTC=false
ARC=false
[root@cactiez etc]# mv localtime localtime-old
[root@cactiez etc]# ls /usr/share/zoneinfo/Asia/Taipei/usr/share/zoneinfo/Asia/Taipei
[root@cactiez etc]# ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime
6. use command yum update , to update your system.
7. reboot.
III. first time to use your Cacti system
1. use Browser ie. firefox or ie to connect Cacti host ip.
2. logon username admin with password admin.
訂閱:
文章 (Atom)
資料無價
做資訊的都知道 資料備份 很重要,但當資料因不可抗力或人為失誤弄掉了! 到底會想要花多少錢來救資料? 答案常常是越少越好~ 最好是 免費 .... 那誰會要去救 .... 買備份設備就跟買保險一樣,有備無患,但重要的是有沒有買對設備,有備份也要有還原測試驗証,而且最好要一段時...
-
最近ESP32 CAM很流行,買了來試看看,結果300元不到的價格可以有這樣的品質,真的不錯。 在晚上沒有燈光的輔助下性能還可以 ESP32 CAM主板上有個LED燈可用在GPIO4來控制。 由於我這個ESP32 CAM沒有自帶USB連接,必需要外接USB轉TTL的板子,接法也...
-
在FreeNAS上安裝OpenVPN有什麼好處? 最大的好處就是當你的公用IP只有一個, 而且還是動態IP, 你的FreeNAS主機上面裝了好幾個Jail虛擬主機, 這時你就可以人在外面也可以透過OpenVPN來進入這些Jail或是透過這個vpn服務連上在區域網路上的任一個IP主...
-
很多的網路設備都有支援 Syslog 的功能, 而 Syslog 會記錄著該設備的活動, 如錯誤的記錄或使用的記錄都會存在一個名叫 Syslog 的檔案, 通常這個檔案就只會存在主機中, 但當我會有好幾台不同的主機時, 要管理這些記錄就不是件簡單的工作, 所以出來了一套 Open...