Problem with beastat.pl

Help
2006-09-08
2013-04-26
  • Stéphane Boisvert

    I have a problem with executing beastat.pl v1.10

    i get this error

    Use of uninitialized value in concatenation (.) or string at ./beastat.pl line 74.

    when executing beastat.pl as follow

    ./beastat.pl host adminport user password

     
    • Nobody/Anonymous

      i'll check it tomorrow i'm not at home now. You can check for path in the ini file and be sure to run bbcmd sh before if you use hobbit or set various bb* env if running on bb. Can you also tell me os, perl and weblogic version your using?

       
    • Francesco Duranti

      I've found the problem... change line 74

      from
      $fname="$Hobbit_fd_lib::bbtmp/beastat.run.$hostname.$$";

      to
      $fname="$Hobbit_fd_lib::bbtmp/beastat.run.$beahost.$$";

       
    • Nobody/Anonymous

      I am having trouble figuring out the configuration for both the beastat.ini and the bb-hosts file (I'm running Big Brother, but hope to be running Hobbit in the future).  In a web browser I can not connect to the web page using port 5000, but I can through port 8088.  SNMPWALK works on port 5000.  I used the bb-hosts example in the beastat.pl documentation, but I get this error on the "beastat" icon on bbdisplay:

      WARNING: Parameter 'hostname' in beastat.ini file for domain dm1 is not defined

      My beastat.ini has this defined:

      username=system
      password=xxxx
      adminport=8088

      [encdom]
      hostname=172.17.252.101
      adminport=8088
      encrypted=yes

      I put the IP address in for the hostname because the server is hidden and a DNS lookup returns an address on a network that is unreachable from the BB server.

      My bb-hosts file shows:

      0.0.0.0         testbaffin      # cont=dm1;http://172.17.252.101:8088/console/login/LoginForm.jsp;"BEA[[:space:]]WebLogic[[:space:]]Server"
      0.0.0.0         dm1             # noconn dodisp beastat
      0.0.0.0         dm1.admin       # noconn beaping

      Any suggestions are most welcome.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks