amidaware / rmmagent

Tactical RMM Agent
https://github.com/amidaware/tacticalrmm
Other
132 stars 74 forks source link

Trmm agent v2.0.1 - multiple hdd entries #3

Open ssteeltm opened 2 years ago

ssteeltm commented 2 years ago

After update agent to 2.0.1 in centos, wich have only 1hdd , shows multiple hdd entries.

Centos 7.9.2009 x86_64 3.10.0-1160.53.1.el7.x86_64 • Agent v2.0.1

image

wh1te909 commented 2 years ago

chrome_MUoKBHq075

interesting, just tried on a few of my centos 7 boxes and can't reproduce, see screenshot. but I don't have any running ext4 only xfs. Will spin one up with ext4

wh1te909 commented 2 years ago

@ssteeltm can you run the following as root and paste the output please (redact sensitive info)

tacticalagent -m checkin -log debug -logto stdout
ssteeltm commented 2 years ago

time="2022-03-25T14:37:10-03:00" level=debug msg="agent-hello {NvWVRXQOFfLnJVFRnjWpDSsWPlmWMNcNlxNNYCJP 2.0.1}"
time="2022-03-25T14:37:11-03:00" level=debug msg="agent-agentinfo {NvWVRXQOFfLnJVFRnjWpDSsWPlmWMNcNlxNNYCJP  myCPANEL.com Centos 7.9.2009 x86_64 3.10.0-1160.53.1.el7.x86_64 linux 16 1643226022 true amd64}"
time="2022-03-25T14:37:11-03:00" level=debug msg="agent-disks {NvWVRXQOFfLnJVFRnjWpDSsWPlmWMNcNlxNNYCJP [{/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33} {/dev/sda1 ext4 1.7 TB 558.6 GB 1.1 TB 33}]}"
time="2022-03-25T14:37:11-03:00" level=debug msg="agent-winsvc {NvWVRXQOFfLnJVFRnjWpDSsWPlmWMNcNlxNNYCJP []}"
time="2022-03-25T14:37:11-03:00" level=debug msg="PublicIP start"
time="2022-03-25T14:37:12-03:00" level=debug msg="PublicIP return:  mypublicIP"
time="2022-03-25T14:37:12-03:00" level=debug msg="agent-publicip {NvWVRXQOFfLnJVFRnjWpDSsWPlmWMNcNlxNNYCJP ipipipip}"
time="2022-03-25T14:37:12-03:00" level=debug msg="agent-wmi {NvWVRXQOFfLnJVFRnjWpDSsWPlmWMNcNlxNNYCJP map[cpus:[Intel(R) Xeon(R) D-2141I CPU @ 2.20GHz] disks:[QEMU QEMU_HARDDISK SCSI HDD sda 1.7 TB] gpus:[Cirrus Logic GD 5446] local_ips:[xxxxxx/21 myip/32] make_model:Red Hat RHEL 7.5.0 PC (i440FX + PIIX, 1996)]}"```
wh1te909 commented 2 years ago

can you try it on a centos 7 machine that's not running cpanel? starting to sound like cpanel does funky stuff with the OS, first it was that stupid /tmp dir behavior and now this lol. I don't have a cpanel to test on

ryszard-suchocki commented 2 years ago

Hello, I have a similar issue with generic Linux. File system: btrfs build on top of MD Raid. btrfs allows have multiple subvolumes (ie snapshots). Anyway, the count of occurrences in TRMM does not correspond to the snapshot count.

image

ssteeltm commented 2 years ago

can you try it on a centos 7 machine that's not running cpanel? starting to sound like cpanel does funky stuff with the OS, first it was that stupid /tmp dir behavior and now this lol. I don't have a cpanel to test on

Hello, I'll try and report here

dinger1986 commented 7 months ago

is this still an issue?