NULL as name of old aix 5.1 machine

Dear team
Thank you for your great product
We have some problems with old AIX machines, some of them are return NULL as machine name. We found that it is result of the "uname -sL" command:
$ uname -sL
AIX 1 NULL
Could you return a hostname in this case?


Comments

  • Hi,

    this output:

     /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl -d <lpar2rrd server>

    You can send it event to support@lpar2rrd.com if you have there sensitive data.

  • Hi,
    I have sent the output by email, and as temporary solution I have added next piece of code to the agent program:
    965a966,969
    >       if ( $part_name eq "NULL" ) {
    >          $part_name = `uname -n`;
    >          chomp($part_name);
    >       }


Sign In or Register to comment.