Wednesday, July 15, 2009

UPSMON Plus For Linux

we have windows xp in our office and have UPSMON Plus installed on our computer so its easy to install the software and configure the values, as i am using Linux from last one year but not regularly but from last two months i am full addicted to Fedora and doing work in it so i think of to install the UPSMON on Fedora, Following are the steps used to install UPSMON on Fedora, lets look

UPSMON Parameters:

UPSMON Plus has three parameters, PM1、PM2 and PM3.

1. PM1: COMPORT => ttyS0 (COM1 of UNIX) or ttyS1 (COM2 of UNIX), It must include the path when you appoint the parameter PM1 (Ex: /dev/ttyS0) Please be noted that PM1 must be appointed.

2. PM2: It is for setting the breakout delay time default: 60 sec. If PM2 don’t be appointed, the breakout delay time will be 60 seconds.

3. PM3: It is for setting the UPS shutdown delay time default: 60 sec. If PM3 don’t be appointed, the UPS shutdown delay time will be 60 seconds.

./upsmon /dev/ttyS0 300 60

Installation Steps must use ROOT as Login:

4. Copy upsmon.tar to /etc directory.

5. use “tar xvf upsmon.tar “ to install software. It will create UPSMON directory now change directory to UPSMON

[sohail@fedora ~]$ cd /etc/upsmon
[sohail@fedora upsmon]$


6. Test UPSMON by using command

[sohail@fedora upsmon]$ ./upsmon /dev/ttyS0 300 60
NOTE: ./upsmon must be included when you uses this command

7. Means: ./upsmon COM1 300 seconds AC fail count and 60 seconds UPS shutdown delay. You will see UPS CONNECT OR NO CONNECT UPS in tty1. If it didn’t connect UPS, you can use the commend “kill PID” to delete the process of UPSMON.

Then, use command ./upsmon /dev/ttyS1 300 60. Means: ./upsmon COM2 300 seconds AC fail count and 60 seconds UPS shutdown delay. If it still doesn’t connect, please check the CABLE、 PC and UPS are all be connected correctly.

8. After the connection confirmed, please edit the system setup file rc.local under /etc/rc.d/rc.local and add the following commend to edit rc.local:

/etc/upsmon/upsmon /dev/ttyS0 300 60
or
/etc/upsmon/upsmon /dev/ttyS1 300 60
The system will execute upsmon after restart the computer.

9. You can see the situation of UPS if you use the commend ./upsdisp under directory /etc/upsmon (“./upsmon” must be included when you use this commend)

10. Use CTRL-C, you can exit UPSDISP.

11. The UPS Event Log file save to: /etc/upsmon/PCMYYMM.log.
(PS.The YY is year and the MM is month.)

Hope it will be informative for you.

Thanking You

5 comments:

Haroon Ahmad said...

keep up the good work. you are writing very helpful articles.

Anonymous said...

replica watches, ugg boots, ralph lauren pas cher, oakley sunglasses, louis vuitton, nike roshe run, chanel handbags, burberry, kate spade outlet, louis vuitton outlet, nike outlet, longchamp, louboutin shoes, gucci outlet, ray ban sunglasses, air jordan pas cher, nike free, jordan shoes, sac longchamp, uggs on sale, louboutin, nike free, cheap oakley sunglasses, nike air max, prada outlet, air max, christian louboutin outlet, tory burch outlet, longchamp pas cher, polo ralph lauren outlet, ugg boots, polo ralph lauren outlet, louis vuitton, replica watches, nike air max, louboutin pas cher, oakley sunglasses, tiffany jewelry, oakley sunglasses, ray ban sunglasses, louis vuitton, prada handbags, michael kors, ray ban sunglasses, louis vuitton outlet, louboutin outlet, longchamp outlet, oakley sunglasses, longchamp outlet, tiffany and co

Anonymous said...

vans shoes, beats by dre, ghd, lancel, herve leger, new balance, ray ban, ralph lauren, abercrombie and fitch, celine handbags, north face outlet, birkin bag, louboutin, chi flat iron, soccer jerseys, nike air max, ferragamo shoes, mont blanc, insanity workout, hollister, jimmy choo shoes, nfl jerseys, soccer shoes, nike huarache, nike air max, nike roshe, wedding dresses, instyler, iphone cases, p90x workout, timberland boots, reebok shoes, mcm handbags, gucci, oakley, hollister, asics running shoes, valentino shoes, longchamp, converse, vans, converse outlet, baseball bats, hollister, north face outlet, bottega veneta, lululemon, babyliss, mac cosmetics, nike trainers

Anonymous said...

bottes ugg, ugg boots uk, ugg,uggs,uggs canada, canada goose uk, canada goose outlet, pandora jewelry, moncler, hollister, marc jacobs, swarovski, juicy couture outlet, replica watches, canada goose, moncler, swarovski crystal, links of london, wedding dresses, moncler outlet, thomas sabo, karen millen, pandora jewelry, moncler, montre pas cher, juicy couture outlet, ugg pas cher, louis vuitton, moncler, moncler, louis vuitton, moncler, louis vuitton, supra shoes, coach outlet, canada goose, toms shoes, ugg,ugg australia,ugg italia, moncler, doudoune canada goose, canada goose, canada goose outlet, louis vuitton, pandora charms, canada goose, sac louis vuitton pas cher, pandora charms

miki said...

0813jejeÀ l'heure nike jordan pas cher livraison gratuite actuelle, beaucoup de gens ont vu les publicités à la adidas zx flux noir et cuivre femme télévision avec le Jupiter Jack. Même ainsi, tous asics gel lyte 5 beige rouge ne seront pas en mesure d'offrir des avantages air jordan 9 anthracite nike efficaces à leurs citoyens. Les deux chaussures Air Jordan Reveal Chaussures utilisent un caoutchouc solide à chevrons dans la semelle extérieure.
nike air jordan 2017 Je vais adidas zx flux gris bleu utiliser la 3ème définition Nike Shox air jordan 1 dunk Navina, caractérisée par l'originalité et asics gel lyte v speckle noir l'expressivité. Source de l'article: basket nike air max bw femme est souvent un moyen basket nike femme blanche et grise sain d'obtenir un soulagement nike men's air jordan du pied et de asics gel kinsei 5 Baskets réduire l'arthrite. Les baskets de basket nike air max 1 mid basket-ball plus chers que Nike chaussures nike femme presto fait utiliser ces mêmes technologies.