Error show ASP tabs with IBM i OS agent (free version)


The ASP Used, Free and Data tabs show no data. In addition the annual graph indicates: Error happened Check  - $$ LPAR2RRD_HOME $$ / logs / error-cgi.log  - Web server error Can anyone help?

Comments

  • Hi,

    1. has that ever worked?
    2.
    cd /home/lpar2rd/lpar2rrd
    tail -f logs/error-cgi.log

    and refresh the graph in the GUI (Ctrl-F5)

    3. are only yearly graphs affected?
    if you have installed that OS agnet it then wait 1 day, it will appear there


  • When reviewing the log that you comment, it indicates the following:
    
    tail -f logs/error-cgi.log
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Tue Jan 15 09:37:35 2019: hmccibtc1:Server-9119-FHB-SN844FE67:C12186PR-844FE67:cap_used:y:h:0:0.645 : hmccibtc1 : Multi graph ASP Mem rrdtool error : ERROR: mmaping file '/home/lpar2rrd/lpar2rrd/data/Server-9119-FHB-SN844FE67/hmccibtc1/C12186PR-844FE67--AS400--/ASP/': No such device at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13293.
     /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl:13296
    Tue Jan 15 09:37:35 2019: hmccibtc1:Server-9119-FHB-SN844FE67:C12186PR-844FE67:cap_used:y:h:0:0.645 : Graph rrdtool error : print_png : file does not exist : /var/tmp/lpar2rrd-hmccibtc1-Server-9119-FHB-SN844FE67-C12186PR-844FE67-cap_used-y-h-23121.png /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl:577
    Tue Jan 15 09:37:35 2019: hmccibtc1:Server-9119-FHB-SN844FE67:C12186PR-844FE67:cap_used:y:h:0:0.645 : Cannot open  /var/tmp/lpar2rrd-hmccibtc1-Server-9119-FHB-SN844FE67-C12186PR-844FE67-cap_used-y-h-23121.png: No such file or directory/home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl:616
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174
    
    
    It seems that the problem is the following:
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    
    
    The product has been running for a couple of months, but from the beginning we have not managed to load the ASP USED / FREE tab in any of its graphics, the graphic appears but blank.
    In addition, the annual chart indicates:
    
    'Error happened Check  - $$ LPAR2RRD_HOME $$ / logs / error-cgi.log  - Web server error'. 
    
    NOTE: Only correct an error in the statement of my post, since the ASP DATA tab does show the graphs with data correctly, like ASP IOPS.
  • Hi,

    1. IBM i OS agent version, you can find it in menu --> LPAR2RRD item --> data check --> IBM i

    2.
    ls -l /home/lpar2rrd/lpar2rrd/data/Server-9119-FHB-SN844FE67/hmccibtc1/C12186PR-844FE67--AS400--/ASP/

  • Attach a TXT document. Thanks
  • sorry for delay.

    has that happen for all your lpars or only for some particulars?
    do they have any specific ASP setup?

    As per your log there is single ASP (1) and data being updated.
  • I notice that the log  refer to the directory: / home / lpar2rrd / lpar2rrd / data / Server-9119-FHB-SN844FE67 / hmccibtc1 / C12186PR-844FE67-AS400- / ASP /
    but this does not exist.

    Checking I see that the directory exists: /home/lpar2rrd/lpar2rrd/data/Server-9119-FHB-SN844FE67/hmccibtc1/C12186PR-844FE67--AS400--/ASP (With two --)

    This ocurred in all lpars IBM i, is a problem with the sintaxis of the dir.

    Our partitions only have ASP 1.
    Thanks Pavel
  • what logs contains that? I do not see it in your examples.
    Pls example.

  • In log: /home/lpar2rrd/lpar2rrd/logs/error-cgi.log.
    When execute:  tail -f logs/error-cgi.log and access to ASP USED y ASP FREE tabs:

    attached txt file with a best format

  • I see everywhere is used --AS400-- what is correct

    ls -l /home/lpar2rrd/lpar2rrd/data/Server-9119-FHB-SN844FE67/hmccibtc1/C12186X-844FE67--AS400--/ASP/

  • Sorry, you're right, I got confused, the syntax is correct.
    
    I attached an evidence of the log again when accessing the ASP Free tab. 
    I see there are several errors but I do not know how to solve it. Can you help us? 
    It seems that there are problems with the substr in sentences 13174 and 13296.
    
    [lpar2rrd@lppar501 logs]$ tail -f error-cgi.log
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Wed Jan 30 12:45:29 2019: hmccibtc1:Server-9119-FHB-SN844FE67:C12186PR-844FE67:cap_free:y:h:0:0.780 : hmccibtc1 : Multi graph ASP Mem rrdtool error : ERROR: mmaping file '/home/lpar2rrd/lpar2rrd/data/Server-9119-FHB-SN844FE67/hmccibtc1/C12186PR-844FE67--AS400--/ASP/': No such device at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13293.
     /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl:13296
    Wed Jan 30 12:45:29 2019: hmccibtc1:Server-9119-FHB-SN844FE67:C12186PR-844FE67:cap_free:y:h:0:0.780 : Graph rrdtool error : print_png : file does not exist : /var/tmp/lpar2rrd-hmccibtc1-Server-9119-FHB-SN844FE67-C12186PR-844FE67-cap_free-y-h-794.png /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl:577
    Wed Jan 30 12:45:29 2019: hmccibtc1:Server-9119-FHB-SN844FE67:C12186PR-844FE67:cap_free:y:h:0:0.780 : Cannot open  /var/tmp/lpar2rrd-hmccibtc1-Server-9119-FHB-SN844FE67-C12186PR-844FE67-cap_free-y-h-794.png: No such file or directory/home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl:616
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    substr outside of string at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Use of uninitialized value in addition (+) at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13174.
    Wed Jan 30 12:45:30 2019: hmccibtc1:Server-9119-FHB-SN844FE67:C12186PR-844FE67:cap_free:y:h:0:0.780 : hmccibtc1 : Multi graph ASP Mem rrdtool error : ERROR: mmaping file '/home/lpar2rrd/lpar2rrd/data/Server-9119-FHB-SN844FE67/hmccibtc1/C12186PR-844FE67--AS400--/ASP/': No such device at /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl line 13293.
     /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl:13296
    Wed Jan 30 12:45:30 2019: hmccibtc1:Server-9119-FHB-SN844FE67:C12186PR-844FE67:cap_free:y:h:0:0.780 : Graph rrdtool error : print_png : file does not exist : /var/tmp/lpar2rrd-hmccibtc1-Server-9119-FHB-SN844FE67-C12186PR-844FE67-cap_free-y-h-895.png /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl:577
    Wed Jan 30 12:45:30 2019: hmccibtc1:Server-9119-FHB-SN844FE67:C12186PR-844FE67:cap_free:y:h:0:0.780 : Cannot open  /var/tmp/lpar2rrd-hmccibtc1-Server-9119-FHB-SN844FE67-C12186PR-844FE67-cap_free-y-h-895.png: No such file or directory/home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl:616
    
  • let start with upgrade to the latest build.
    It could be something alredy fixed.
    if not then we will have a look at this, problem is clear from the log.

    get the packge:http://www.lpar2rrd.com/download/lpar2rrd-5.09-63.tar
    Upgrade docu:http://www.lpar2rrd.com/upgrade.htm


Sign In or Register to comment.