Archived community.zenoss.org | full text search
Skip navigation
51019 Views 3 Replies Latest reply: Nov 10, 2009 4:05 AM by Gabe RSS
markeriv Rank: White Belt 24 posts since
Apr 9, 2009
Currently Being Moderated

Oct 7, 2009 5:28 PM

How to install the zenpack fping in zenoss and not mess it up.

Alright folks,

 

I am writing this little how to with the intent to save someone else time that I saddly didnt save.

 

I have read in a few other places that folks other than myself have run into issues with the fping zenpack not graphing correctly and I believe installing your zenpack this way will correct the problem.  After a wipe I am pleased to say I am slightly smarter and prepared to share this sliver of knowledge to all the other peons like myself who scurry around at the whim of a boss who wants the most accurate ping data.

 

This small guide was written for users with Fedora, but should work for you as long as the OS is unix based.

 

First, download the zenpack located here ---> docs/DOC-3467

The file name is ZenPacks.BlakeDrager.fping-1.0-py2.4.egg.zip

 

Please note that it is zipped.

 

After downloading it, extract it.  You now have the file named  ZenPacks.BlakeDrager.fping-1.0-py2.4.ZenPacks.BlakeDrager.fping-1.0-py2.4.eggegg lying in a directory somewhere.

For the sake of my sanity, I am going to assume you have it in home/username/downloads.

 

The first step is to move it to a directory that will be easy.  Get to the directory the file is in, and type following commands in order, be sure to use the entire command including the two periods at the end. If your document is where I expect it, then you should move it twice so that the item is now sitting in the home/ directory.


mv ZenPacks.BlakeDrager.fping-1.0-py2.4.egg ..

cd ..

 

Now switch to your root user, and move the file into the zenoss folder.

su

*enter root password*

mv ZenPacks.BlakeDrager.fping-1.0-py2.4.egg zenoss

 

Now you need to switch to the zenoss user.  To do this is simple from the root user. Simply type the following command.

 

su zenoss

 

You are now online as the zenoss user! *whee*

Type the following commands to install the zenpack.  These commands are also found at docs/DOC-2935.

 

zenpack --install <filename>
zenoss restart

Now your perf graphs will correctly update.

Thank you all,
Have a nice day.

MarkerIV
  • Matt Ray Rank: Zen Master 2,484 posts since
    Apr 5, 2008
    Good stuff, feel free to update the ZenPack page directly with further instructions.
  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007

    Note that with CENTOS5 at least, as long as you have the listed pre-reqs

    installed, it works fine (for me at least) on 2.4.5 from the GUI as

    well, though you do need to extract it from the .zip.

     

    One thing I noticed when testing a new Zenpack yesterday is the GUI

    dialog box asks for a .zip file, but actually doesn't support .ziped

    .egg files, so perhaps that should be changed.

    --

    James Pulver

    Information Technology Area Supervisor

    LEPP Computer Group

    Cornell University

     

     

     

    markeriv wrote, On 10/7/2009 5:28 PM:

    Alright folks,

     

    I am writing this little how to with the intent to save someone else time that I saddly didnt save.

     

    I have read in a few other places that folks other than myself have run into issues with the fping zenpack not graphing correctly and I believe installing your zenpack this way will correct the problem.  After a wipe I am pleased to say I am slightly smarter and prepared to share this sliver of knowledge to all the other peons like myself who scurry around at the whim of a boss who wants the most accurate ping data.

     

    This small guide was written for users with Fedora, but should work for you as long as the OS is unix based.

     

    First, download the zenpack located here ---> docs/DOC-3467

    The file name is ZenPacks.BlakeDrager.fping-1.0-py2.4.egg.zip (servlet/JiveServlet/download/3467-4-1592/ZenPacks.BlakeDrager.fping-1.0-py2.4.egg.zip)

     

    Please note that it is zipped.

     

    After downloading it, extract it.  You now have the file named  ZenPacks.BlakeDrager.fping-1.0-py2.4.ZenPacks.BlakeDrager.fping-1.0-py2.4.eggegg lying in a directory somewhere.

    For the sake of my sanity, I am going to assume you have it in home/username/downloads.

     

    The first step is to move it to a directory that will be easy.  Get to the directory the file is in, and type following commands in order, be sure to use the entire command including the two periods at the end. If your document is where I expect it, then you should move it twice so that the item is now sitting in the home/ directory.

     

    mv ZenPacks.BlakeDrager.fping-1.0-py2.4.egg ..

    cd ..

     

    Now switch to your root user, and move the file into the zenoss folder.

    su

    enter root password

    mv ZenPacks.BlakeDrager.fping-1.0-py2.4.egg zenoss

     

    Now you need to switch to the zenoss user.  To do this is simple from the root user. Simply type the following command.

     

    su zenoss

     

    You are now online as the zenoss user! whee

    Type the following commands to install the zenpack.  These commands are also found at docs/DOC-2935.

     

    zenpack --install <filename>

    zenoss restart

     

    Now your perf graphs will correctly update.

     

    Thank you all,

    Have a nice day.

     

    MarkerIV

    >

  • Gabe Rank: Green Belt 94 posts since
    Jun 29, 2008

    first device i added renders all graphs fin, hurray.

     

    but when i add other devices fping_min.rrd i not created for them.

     

    i have tried reinstalling the zenpack manually and from GUI with the same results

     

    all files under /usr/local/zenoss/zenoss/ZenPacks/ZenPacks.BlakeDrager.fping-1.0-py2.4.egg/

    are all 755 after install so im not shure its a rights issue. and as i said it worked for the first device i added.

     

    On thread message/32675#32675

    i read about i workaround to go to the perfdevice directory and do a manual copy rename.

    cp -b fping_max.rrd fping_min.rrd

     

    makes the graphs shure start working, but not good workaround doing this every time.

     

    creating new classes and copy the b_fping template and binding it did no change.

    still missing fping_min.rrd

     

    have tried the guide above.

    tried chaning zSshConcurrentSessions = 1 from 10, the problem still stays.

     

    any other tips or suggestions ?

More Like This

  • Retrieving data ...