Joyeux Noël Merry Christmas Fröhliches Weihnachtsfest Fröhliches Weihnachtsfest

  • I wish you all a Merry Christmas
  • Je vous souhaite à tous un joyeux Noël
  • Ich wünsche allen ein fröhliches Weihnachtsfest
  • メ-リ-クリスマス

10 thoughts on “Joyeux Noël Merry Christmas Fröhliches Weihnachtsfest Fröhliches Weihnachtsfest

  1. I put the hostinfo in my cgi directory and corrected lines 12/13 to point to my get and gettable but it does not run. Do I need to name it to a hostinfo.cgi or hostinfo.pl?

    Thank you
    Mike

  2. I’m not sure how to run your code. Do I make the file “hostinfo” a perl script or cgi script? I put it in the cgi-bin directory and was going to load my webpage: http://localhost/cgi-bin/hostinfo

    but when i click submit it doesn’t work.

  3. I’m lost…I’m sorry to keep buggin you. I tried to name the file hostinfo.pl and ran it and I get the screen to enter an ip address, but when I hit submit, the script does not run. I made sure it was executable, but it does not run. I changed the path for the “get” to my f:/usr/bin/ directory and made sure it was ok but it will not run…any suggestions? If not, could you put a more simple one online that does an snmpwalk or get on a singel oid so can see how you are running it?

  4. Can you tell me if hostinfo should have a .cgi or .pl so it runs on my webserver???

  5. I got it working on my windows box!!!!!!! whooohoo!!!

    Here is the change I had to make:

    sub snmpForm{
    print header ;
    print start_html(“SNMP information”) ;
    print ” ;
    ## I had to change to a .pl for this file…..

    I also had to change the path to perl and get and gettable to reflect their proper locations….let me know if you would like more detail to put on your site.

    Mike Butler

  6. Could you send me a summary by e-mail, and I will add it to the relevant web-page?

  7. Thias,

    The only additional thing I’d like to do with your script is to split the interface results so that instead of showing “integer:fast0/1” it shows “Fast0/1” but to do this I keep putting print statements in to see where you print the interface lines and keep getting lost in your code! :) Can you tell me at what line or section in your code I can put this?–>
    my ($split1,$split2) = split(‘:’,$ip_line);
    print “$split2”; –which contains the value minus the “INTEGER:” piece…?

    Mike

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: