Linux server don't show in 'Unmanaged->Linux' tabs

Hi, 
I have few Linux servers which don't show on lpar2rrd server web... I have another few Linux, where everything works fine but on few Linux servers i have problem ...

I proceed all steps on 'Troubleshooting' page http://www.lpar2rrd.com/install.htm?4.1.0 for 'OS agent' tab and all steps goes successfully and everything seems looks fine ... 

Comments

  • Hi,

    this info from server where it does not work
    ls -ltr /var/tmp/lpar2rrd*
    head /var/tmp/lpar2rrd*txt
    perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl -d <lpar2rrd server>

    You can send it to us ( support@stor2rrd.com ) if you do not want to place it here.
  • Hi Pavel,

    Thank you for your reply ... i'm pasting output. I start twice lpar2rrd-agent.pl -d ... second time wass successed, i don't know why:

    [lpar2rrd@myhostname ~]$ date
    Thu Mar 22 07:43:27 CET 2018

    [lpar2rrd@myhostname ~]$ ls -ltr /var/tmp/lpar2rrd*
    -rw-r--r--. 1 root     root        0 Mar 20 14:32 /var/tmp/lpar2rrd-agent-192.168.178.33-root.err
    -rw-r--r--. 1 root     root        0 Mar 20 14:32 /var/tmp/lpar2rrd-agent-192.168.178.33-root.stamp-trimlogs
    -rw-r--r--. 1 root     root        0 Mar 20 14:32 /var/tmp/lpar2rrd-agent-192.168.178.33-root.stamp
    -rw-r--r--. 1 root     root      267 Mar 20 14:32 /var/tmp/lpar2rrd-agent-192.168.178.33-root.txtorig
    -rw-r--r--. 1 root     root        0 Mar 20 14:32 /var/tmp/lpar2rrd-agent-192.168.178.33-root.txt-tmp
    -rw-r--r--. 1 root     root       10 Mar 20 14:32 /var/tmp/lpar2rrd-agent-192.168.178.33-root.stamp-send
    -rw-rw-r--. 1 lpar2rrd lpar2rrd  636 Mar 21 10:26 /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    -rw-rw-r--. 1 lpar2rrd lpar2rrd    0 Mar 21 14:34 /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.stamp-trimlogs
    -rw-r--r--. 1 lpar2rrd lpar2rrd 4716 Mar 22 07:30 /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd-ps_job.txt
    -rw-rw-r--. 1 lpar2rrd lpar2rrd    0 Mar 22 07:42 /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.stamp
    -rw-r--r--. 1 lpar2rrd lpar2rrd  269 Mar 22 07:42 /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.txtorig
    -rw-r--r--. 1 lpar2rrd lpar2rrd    0 Mar 22 07:42 /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.txt-tmp
    -rw-r--r--. 1 lpar2rrd lpar2rrd 1596 Mar 22 07:42 /var/tmp/lpar2rrd-agent.out
    -rw-r--r--. 1 lpar2rrd lpar2rrd   10 Mar 22 07:42 /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.stamp-send
    [lpar2rrd@myhostname ~]$

    [lpar2rrd@myhostname ~]$ head /var/tmp/lpar2rrd*txt
    Thu Mar 22 07:30:01 2018 UNIX:1521700200
    PID,USER,COMMAND,TIME,VSZ,RSS
    1,root,/usr/lib/systemd/systemd --system --deserialize 24,00:01:06,46028,5948
    2,root,[kthreadd],00:00:00,0,0
    3,root,[ksoftirqd/0],00:00:02,0,0
    5,root,[kworker/0:0H],00:00:00,0,0
    7,root,[migration/0],00:00:00,0,0
    8,root,[rcu_bh],00:00:00,0,0
    9,root,[rcu_sched],00:00:06,0,0
    10,root,[watchdog/0],00:00:10,0,0
    [lpar2rrd@myhostname ~]$

    [lpar2rrd@myhostname ~]$ /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl -d 192.168.178.33
    LPAR2RRD agent version:5.05-6
    Thu Mar 22 07:44:05 2018
    main timeout 50
    JOB TOP setting: MAX_JOBS=20, LOAD_LIMIT=10, LOAD_LIMIT_MIN=1, PROCESSES_INCLUDE= --
    uname -W 2>/dev/null
    false
    false
    false
    cat /proc/meminfo 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    false 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    false
    cat /proc/vmstat 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    false 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    false 2>/dev/null
    false 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    ifconfig -a 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    false 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    uname -n 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    vmstat 5 2 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    Linux:myhostname:4230E154-69A3-CBCC-4243-C67C44F05F42:1521701045:Thu Mar 22 07:44:05 2018 version 5.05-6:|::::mem:::998640:740664:257976:-1:233072:507592:pgs:::0:342:4095.99609375:0.0:::lan:ens160:192.168.246.178:10940354:151973683:111768:142800:::cpu:::0:0:0:0::
    /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.txt
     Linux:myhostname:4230E154-69A3-CBCC-4243-C67C44F05F42:1521701045:Thu Mar 22 07:44:05 2018 version 5.05-6:|::::mem:::998640:740664:257976:-1:233072:507592:pgs:::0:342:4095.99609375:0.0:::lan:ens160:192.168.246.178:10940354:151973683:111768:142800:::cpu:::0:0:0:0::
    Agent send     : yes : forced by -d
    Agent send slp: sending wait: 9
    Thu Mar 22 07:44:19 2018: Cant cp /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.txt /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.txtorig: No such file or directory/opt/lpar2rrd-agent/lpar2rrd-agent.pl:2289
    [lpar2rrd@myhostname ~]$

    [lpar2rrd@myhostname ~]$ /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl -d 192.168.178.33
    LPAR2RRD agent version:5.05-6
    Thu Mar 22 07:44:50 2018
    main timeout 50
    JOB TOP setting: MAX_JOBS=20, LOAD_LIMIT=10, LOAD_LIMIT_MIN=1, PROCESSES_INCLUDE= --
    uname -W 2>/dev/null
    false
    false
    false
    cat /proc/meminfo 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    false 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    false
    cat /proc/vmstat 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    false 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    false 2>/dev/null
    false 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    ifconfig -a 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    false 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    uname -n 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    vmstat 5 2 2>>/var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.err
    Linux:myhostname:4230E154-69A3-CBCC-4243-C67C44F05F42:1521701090:Thu Mar 22 07:44:50 2018 version 5.05-6:|::::mem:::998640:733948:264692:-1:226408:507540:pgs:::0:342:4095.99609375:0.0:::lan:ens160:192.168.246.178:10948799:151979675:111830:142881:::cpu:::0:0:0:0::
    /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.txt
     Linux:myhostname:4230E154-69A3-CBCC-4243-C67C44F05F42:1521701090:Thu Mar 22 07:44:50 2018 version 5.05-6:|::::mem:::998640:733948:264692:-1:226408:507540:pgs:::0:342:4095.99609375:0.0:::lan:ens160:192.168.246.178:10948799:151979675:111830:142881:::cpu:::0:0:0:0::
    Agent send     : yes : forced by -d
    Agent send slp: sending wait: 4
    OS/HMC agent working for server: 192.168.178.33
    store file for sending is /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.txt
    [lpar2rrd@myhostname ~]$



  • Thu Mar 22 07:44:19 2018: Cant cp /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.txt /var/tmp/lpar2rrd-agent-192.168.178.33-lpar2rrd.txtorig: No such file or directory/opt/lpar2rrd-agent/lpar2rrd-agent.pl:2289
    First time it failed on this above cp command, no idea why.
    Can you see that agent in the GUI already?
    It should appear there after next load.sh on the server side.
  • nuronex
    edited March 2018
    Hi.

    Unfortunately no ... as i write earlier ...  :(  i proceed all steps on 'Troubleshooting' and after load.sh new linux server don't appear on the server side...

    into whole load.out there is no information about IP and hostname ...

    I have correct directory to:

    [192.168.178.33].lpar2rrd:/home/lpar2rrd/lpar2rrd/data/Linux/no_hmc/myhostname # ls -al
    total 16840
    drwxr-xr-x  3 lpar2rrd lpar2rrd     131 Mar 20 15:34 .
    drwxr-xr-x 20 lpar2rrd lpar2rrd    4096 Mar 20 14:51 ..
    -rw-r--r--  1 lpar2rrd lpar2rrd       7 Mar 21 14:34 agent.cfg
    -rw-r--r--  1 lpar2rrd lpar2rrd 3825840 Mar 22 11:20 cpu.mmm
    drwxr-xr-x  2 lpar2rrd lpar2rrd      38 Mar 20 15:34 JOB
    -rw-r--r--  1 lpar2rrd lpar2rrd      16 Mar 21 14:34 lan-ens160.cfg
    -rw-r--r--  1 lpar2rrd lpar2rrd 3825840 Mar 22 11:20 lan-ens160.mmm
    -rw-r--r--  1 lpar2rrd lpar2rrd 5738368 Mar 22 11:20 mem.mmm
    -rw-r--r--  1 lpar2rrd lpar2rrd 3825840 Mar 22 11:20 pgs.mmm
    -rw-r--r--  1 lpar2rrd lpar2rrd      37 Mar 21 14:34 uuid.txt

  • This is VMware machine of Linux and i have also monitoring all VM environment ... so a see this hostname / name / machine on 'VM' tab ... 
  • yes, this is correct, it is not under Unmanaged if VMware is there and minitored as well?
    Then it is working fine as per me :)
  • Thanks a lot ... 
  • I have not noticed that under VM tab this server has additional 'agent-linux' information ...
Sign In or Register to comment.