BradZynda Posted June 24, 2008 Share Posted June 24, 2008 Looking to make a php page using snmp to contact my APC ups's and get load time, name, uptime. and place on a page where I could view the information all at once. Warning- I am a .net guy thrown into php - snmp - mac 10.5 running apache 2 So please be very in depth and patient with me.... Any help or direction or sample code would be very much appreciated Thanks, Brad Zynda Link to comment https://forums.phpfreaks.com/topic/111687-apc-ups-to-webpage-with-snmp/ Share on other sites More sharing options...
paulman888888 Posted June 24, 2008 Share Posted June 24, 2008 for page load times you need to set up a timer. A good place to start PHP is http://www.tizag.com/phpT/ This site should help you alot because its where i learnt most of my php knowledge. Link to comment https://forums.phpfreaks.com/topic/111687-apc-ups-to-webpage-with-snmp/#findComment-573284 Share on other sites More sharing options...
BradZynda Posted June 24, 2008 Author Share Posted June 24, 2008 Not webpage uptimes but the UPS load, uptime, which is gotten from snmp... Using OID to get info... Im mainly lost on how to login to the apc system summary and request the oid with the ups's. Link to comment https://forums.phpfreaks.com/topic/111687-apc-ups-to-webpage-with-snmp/#findComment-573343 Share on other sites More sharing options...
freakus_maximus Posted June 24, 2008 Share Posted June 24, 2008 I found PDF which has some code documented for some of the returns you should be able to access for your APC ups. Only 7 pages, so not to bad of a read. Looks like it might get you going in the right direction. http://hosteddocs.ittoolbox.com/KA110807.pdf Link to comment https://forums.phpfreaks.com/topic/111687-apc-ups-to-webpage-with-snmp/#findComment-573380 Share on other sites More sharing options...
BradZynda Posted June 25, 2008 Author Share Posted June 25, 2008 Very cool start... Link will help alot! Includes most of the Java as well Thanks Brad Link to comment https://forums.phpfreaks.com/topic/111687-apc-ups-to-webpage-with-snmp/#findComment-574321 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.