Hoi Hong DVR Equipment Monitoring Program Programming essentials
2015.05.02
Recently, I wrote the "Hoi Hong DVR Device monitoring Program" has been successfully on-line operation, through a few days of operation found to achieve the desired function:
1, a daily scan DVR equipment, the main extraction is ① equipment online, ② online time, the number of ③ hard disk, ④ hard disk capacity, ⑤ hard disk status;
2, the use of DVR equipment scanning results;
3, once a week, scan the Sea Kang 8300 platform database, synchronous DVR and other equipment information, if there is replacement equipment, new additions to the equipment to be updated;
In the process of realizing the above functions, I learned the content that I have not touched before, and can be said to be a new field:
1, Hoi Hong DVR device SNMP OID discovery and use; by and by, the use of the private MiB of the manufacturer;
2, the use of PHP SNMP function library, reference cacti;
3. PHP CLI mode; overcomes the drawback of long wait times in CGI mode (depending on the log, it takes 15 minutes for the device to scan.) )
4. Application of Jquery: Ajax, UI
This article from "user7343" blog, reproduced please contact the author!
Hoi Hong DVR Equipment Monitoring Program Programming essentials