I noticed my centos servers havent updated since April, so i went on to test the agent and im getting perl errors on all of my servers
more /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
/usr/sbin/ocsinventory-agent
Use of uninitialized value $password in concatenation (.) or string at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Network.pm line 52.
any help would be appreciated with this, my ocs inventory server doesnt require a password .. at least it was working a few months ago .. my ubuntu servers work fine;
Edit; I did install from the rpm fyi
rpm -qa | grep ocs
ocsinventory-agent-2.6.0-1.el7.ocs.x86_64
nagios-plugins-procs-2.2.1-16.20180725git3429dad.el7.x86_64
monitor-edid-3.0-13.el7.ocs.x86_64
libx86-1.1-23.el7.ocs.x86_64
ocsinventory-agent-core-2.6.0-1.el7.ocs.x86_64
perl-Ocsinventory-Agent-2.6.0-1.el7.ocs.noarch
ocsinventory-release-7-4.el7.ocs.noarch
it was working but may have taken updates .. /etc/yum.repos.d/ocsinventory.repo gets produced by the rpm and is automatically enabled;
[ocsinventory]
name=OCS Inventory NG repository for Enterprise Linux 7 - $basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ocs
so im thinking it took an update an broke something