Page 1 of 2 12 LastLast
Results 1 to 25 of 49

Thread: live online farm monitoring

  1. #1
    Xtreme Member
    Join Date
    Dec 2004
    Posts
    150

    live online farm monitoring

    @rodzilla
    how did u set up that website that shows ur farm in real time just like dspy?! thats the coolest thing ever! is it a proggy that u got or did u do some like high-tech php shiz?

    thanks

  2. #2
    Xtreme Enthusiast
    Join Date
    Sep 2004
    Location
    austria
    Posts
    535
    i think the prog is called WebTemp

  3. #3
    Xtreme Member
    Join Date
    Dec 2004
    Posts
    150
    i know thats what jeff uses, but i think rodzilla did it differently cuz its just for d2ol not overall sys health.....i downloaded webtemp so ill mess with it n see. thanks for the reply!

  4. #4
    ^^Not dead!!^^
    Join Date
    Jul 2004
    Location
    Indiana, USA
    Posts
    4,706
    I used a program called D2OL Progress... it's rather complicated so i haven't reallt talked much about it. The setup is a mightmare!

    It outputs an html file every min... and I use cute ftp to upload it every min.

  5. #5
    Xtreme Member
    Join Date
    Dec 2004
    Posts
    150
    sweet, ill google it n see if i can figure it out thanks

  6. #6
    ^^Not dead!!^^
    Join Date
    Jul 2004
    Location
    Indiana, USA
    Posts
    4,706

  7. #7
    Xtreme Member
    Join Date
    Dec 2004
    Posts
    150
    lol looks pretty complicated, but its just too cool, ill give it a shot thanks again

  8. #8
    ^^Not dead!!^^
    Join Date
    Jul 2004
    Location
    Indiana, USA
    Posts
    4,706
    Make sure you read the whole thread... and get the newest version!


    See attached files.

    On the PC that you are going to use to monitor your other nodes...
    Make a folder in C:\ called "Prog"

    Extract the "d2olprogress1014.zip" into the "Prog" folder.
    Extract the "executed2olprogress.zip" into the same folder.
    Extract the "D2OLProgress INI.zip" into the same "Prog" folder


    On all of the PC's with nodes you want to monitor....
    Copy the "D2OLProgressNode.class" from the "Prog" fold above into the ...\D2OL\jre\bin folder of every node you want to watch.

    NOW THE FUN PART!

    Use the "nt_resource_kit_service_tools.zip" to create your services.
    Extract the 2 files to C:\Windows

    If you used one of my easy installers then these files will already be there... don't mess with them.


    Here is the steps that PCZ put together for me to use to set these up as services.

    Originally posted by PCZ
    I will describe a setup on one of my nodes for you.

    This is an HT P4
    D2OL is installed in 2 directories d:\d2ol1, d:\d2ol2 set up to run as services.

    The PC doesn't have Java installed and the version of D2OL in use has the embedded jre.

    To monitor these installs I use D2OLProgress also set up as a service.
    This is how I setup D2OLProgress as a service

    {Rodzilla edit: took some stuff out}

    Type the following in a CMD window
    instsrv d2olp1 c:\windows\srvany.exe
    instsrv d2olp2 c:\windows\srvany.exe.

    {Rodzilla NOTE: you only need to create 2 if have 2 nodes on 1 rig... this is an example of how to setup a rig with 2 nodes}

    Now the tricky part.
    go to the run box and type regedit.

    Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es

    Scroll through the list until you find the d2olp1 key.

    Right click on it and select new key
    Type Parameters for the key name.

    Right click on Parameters and select new String Value
    Type AppDirectory as the String name

    Right click on Parameters again and select new String Value
    Type Application as the String name.

    double click the AppDirectory String and enter the following:
    d:\d2ol1\jre\bin

    {Rodzilla NOTE: Be sure to use the directory path and applies to you!}

    double click the Application String and enter the following:
    d:\d2ol1\jre\bin\java D2OLProgressNode -sendto 172.31.158.125 -dir d:\d2ol1\d2ol -name inet-P1

    {Rodzilla NOTE: 172.31.158.125 is the IP address of the computer that will be doing the monitoring (The PC with the "Prog" folder) you can also use the computer name here. inet-P1 is the name you want to be displayed in the monitoring app... there can be no spaces in it and you can't use the same name 2 times.}

    The appdirectory string is the path to the java executable and D2OLProgress.

    The Application string is the same as you would type from a cmd window.
    I have used the full path in the application string although this isn't absolutely necessary I always do.

    Repeat for the d2olp2 key.
    using d2ol2 in place of d2ol1.

    Hopefully you can substitute the correct settings for your setup into the above info.
    Path to D2OL install directories.
    IP address of D2OLProgress monitor
    Machine names.

    Don't forget to start the services.
    The quickest way to the services applet is to to type services.msc in the run box.
    If the service works you should be able to see it pop up on the progress monitor... launch the "StartD2OLProgress.bat" to bring up the Monitor app.
    Attached Files Attached Files

  9. #9
    ^^Not dead!!^^
    Join Date
    Jul 2004
    Location
    Indiana, USA
    Posts
    4,706
    If you used one of the XS easy installers this will give you a really good idea of what your reg keys should be.

    ---------------------------------------

    Code:
    AppDirectory   C:\XS_D2OL\D2OL1\jre\bin
    
    Application    C:\XS_D2OL\D2OL1\jre\bin\java D2OLProgressNode -sendto Network_name_of_monitoring PC_or_IP_address -dir "C:\XS_D2OL\D2OL1\D2OL" -name displayname
    ----------------------------------------

    if you have more than one node per PC just change the directory to C:\XS_D2OL\D2OL2\jre\bin... in the other services. And so one...

  10. #10
    Xtreme Member
    Join Date
    Dec 2004
    Posts
    150
    sweet man just plain sweeeeet
    i set it up before u posted that^ but had to keep 2 cmd prompts open i was like wtf....but setting it up as a service! perfect! also the .bat file to open the monitor makes it much nicer. all setup no problems, that create a service proggy is quite nice ill have to use that in the future.

    check it out!!
    http://www.tweakmb.com/d2ol/d2olprogress.html

    thanks man really cool of u to take the time n show me that :thumbsup:
    i owe u one

    i love this techy stuff....lol

  11. #11
    ^^Not dead!!^^
    Join Date
    Jul 2004
    Location
    Indiana, USA
    Posts
    4,706
    Your link is busted... and so is the one in your sig.

  12. #12
    Xtreme Member
    Join Date
    Dec 2004
    Posts
    150
    whats it say? site not found or do u get that doteasy.com crap? it works from all my comps so i dono what wrong...

  13. #13
    ^^Not dead!!^^
    Join Date
    Jul 2004
    Location
    Indiana, USA
    Posts
    4,706
    Hmmm works fine now...

  14. #14
    Xtreme Member
    Join Date
    Dec 2004
    Posts
    150
    weird, it went a little wacky on me earlier but it was just cuz i restarted cuteftp. oh well

  15. #15
    ^^Not dead!!^^
    Join Date
    Jul 2004
    Location
    Indiana, USA
    Posts
    4,706
    Sweet job man!!!! I'm glad I could make it easier for you than it was for me! I had one hell of a time setting this up the way I wanted it. Now it's a piece of cake seeing how everything is in one place.

    lol it took lots of on my part to get the upgrades and info I needed... Didn't really help that I was a noob with batch files and creating services... The guys at Free-DC really taught me lots of cool stuff just with this little project!

  16. #16
    Xtreme Member
    Join Date
    Dec 2004
    Posts
    150
    u used those two little .exe's instsrv and srvany to make d2ol a service for ur installers too right? u could use that for all kinds of stuff right. good stuff to know thanks again man great work translating all that, made it very easy to understand

  17. #17
    ^^Not dead!!^^
    Join Date
    Jul 2004
    Location
    Indiana, USA
    Posts
    4,706
    Yea I used them to setup the services...

    On a scale of 1 -> 10 how hard was it to setup?

    1 -> 10 how "Techy" are you?

    Was there anything missing in my instructions that should have been there?

  18. #18
    Xtreme Member
    Join Date
    Dec 2004
    Posts
    150
    well on a difficulty of scale on 1-10 for me id say it was about a 3, ive done alot of cmd stuff, ive messed with java, ive worked with linux and the instructions were perfect. this of course was after i stopped copying the wrong class file into the d2ol java bin folder lol(d2olprogress instead of d2olprogressnode). the directions were spot on man.

    what u may wanna add is that u can add java to ur pathfile in environment variables so that u can just type "java d2olprogress" rather then "C:\xs_d2ol\d2ol1\d2ol\jre\bin\java d2olprogress"

    i have the newest jdk on my monitoring comp so i used that (which was added to my path file) instead of the one that came with the jre.

    but then again that might just confuse people......lol thats all i can think of its really easy to understand the way u put it

    nively gone

  19. #19
    ^^Not dead!!^^
    Join Date
    Jul 2004
    Location
    Indiana, USA
    Posts
    4,706
    How offten does your page auto upload?

  20. #20
    Xtreme Member
    Join Date
    Dec 2004
    Posts
    150
    i have it scheduled in cute ft to upload and overwrite every minute

  21. #21
    Xtreme Member
    Join Date
    Oct 2004
    Posts
    452
    Hey Guys
    Im trying to work out why i cant start the "StartD2OLProgress.bat" it comes up with a msg "Widnows Cannot Find 'Javaw'. Make Sure You Typed the File Name correctly blah.blah.blah"

    Im pretty sure its just a case of redirectiogn the bat file but i have no idea how, but im unsure so any help available would be most apprecated.


    Btw if you hadnt guess im not 2 good with technical stuff but managed to naviagte through the instructions fairly easily but have yet to find if everything is correct as i cant get it to monitor:P

  22. #22
    Xtreme DČOL Cruncher
    Join Date
    Dec 2004
    Location
    London
    Posts
    339
    nice ive gotto try this for my parents rigs so i can see if theres a problem rather than waiting to see my stats drop off.

  23. #23
    ^^Not dead!!^^
    Join Date
    Jul 2004
    Location
    Indiana, USA
    Posts
    4,706
    Quote Originally Posted by Smurfy
    Hey Guys
    Im trying to work out why i cant start the "StartD2OLProgress.bat" it comes up with a msg "Widnows Cannot Find 'Javaw'. Make Sure You Typed the File Name correctly blah.blah.blah"

    Im pretty sure its just a case of redirectiogn the bat file but i have no idea how, but im unsure so any help available would be most apprecated.


    Btw if you hadnt guess im not 2 good with technical stuff but managed to naviagte through the instructions fairly easily but have yet to find if everything is correct as i cant get it to monitor:P

    Just a note first... You run the bat file on the PC that you want to use to monitor your farm with... not the ones that are just nodes.

    Ok

    Sounds like you need to install Java on your monitoring rig... Here ya go!!!

    http://192.18.97.147/ECom/EComTicket...ows-i586-p.exe

  24. #24
    Xtreme Member
    Join Date
    Oct 2004
    Posts
    452
    I will try that but im sure i have java installed already.

  25. #25
    Xtreme Member
    Join Date
    Oct 2004
    Posts
    452
    Well ok,
    Still having a few issues Here, hoping youc an help me find the problem

    I installed the java link you gave me, well i tyred to it said version was already installed but since then the D2olprogress monitor has started so thats all good.

    The problem is now the monitor doesnt seem to pick any information up.
    Im going to post the information iv entered

    App Directory
    C:\Program Files\SengentD2OL\jre\bin

    Applcation

    C:\Program Files\SengentD2OL\jre\bin\java D2OLProgressNode -sendto 192.168.0.12 -dir c:\program files\sengentd2ol\d2ol -name 939AMD

    This is obviously with my d2ol istalled into C:\Program Files\SengentD2OL\
    192.168.0.12 being the machine that i want to montior ( do i set that pc up as localhost? in the application string?).
    and the name of the machine being 939AMD

    Is there anythign immediaty wrong with that?

    The service seems to run fine on all 3 machines currently setup with no errors occuing in the event viewer. Could windows firwall be blocking it? What port would it use by default?

Page 1 of 2 12 LastLast

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •