Hi, I have a problem, when I run:
./check_pve_monitor.pl --conf ../etc/objects/pve-monitor.conf --node
NODES OK 1 / 1 working nodes
pve OK : cpu OK (0.01%), mem OK (27.23%), disk OK (10.39%) cpu alloc OK (12.50%), mem alloc OK (51.94%), uptime 94854
Its ok, but when I execute it from the nagios it returns this:
(No output on stdout) stderr: Can't locate Net/Proxmox/VE.pm in @inc (@inc contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/check_pve_monitor.pl line 36.
it is as if "Net::Proxmox::VE" is not installed and if it is installed, it can not be.
cpan install Net::Proxmox::VE
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 27 Mar 2018 12:41:03 GMT
Net::Proxmox::VE is up to date (0.33).
Sorry for the translation, I speak Spanish.
Hola, un problema, cuando ejecuto
./check_pve_monitor.pl --conf ../etc/objects/pve-monitor.conf --node
NODES OK 1 / 1 working nodes
pve OK : cpu OK (0.01%), mem OK (27.23%), disk OK (10.39%) cpu alloc OK (12.50%), mem alloc OK (51.94%), uptime 94854
todo bien, pero cuando lo ejecuto desde el nagios devuelve esto:
(No output on stdout) stderr: Can't locate Net/Proxmox/VE.pm in @inc (@inc contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/check_pve_monitor.pl line 36.
es como si no estuviese instalado "Net::Proxmox::VE" y si esta instalado, no se que puede ser.
cpan install Net::Proxmox::VE
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 27 Mar 2018 12:41:03 GMT
Net::Proxmox::VE is up to date (0.33).
Disculpa la traducción, hablo español.