The Data Collector install is owned by a non-root sudo root user.
The Data Collector upgrade was run by the DX NetOps Performance Management Performance Center web UI push button upgrade functionality.
The upgrade failed with the following errors in the upgrade log found in (default path) /opt/IMDataCollector/upgrade. The upgrade log will be named with the date for the failed upgrade run.
[<SudoUserName>@<DC_Host> upgrade]$ cat upgrade-20210203.213205.734.stdout
You (SudoUserName) are not allowed to use this program (crontab)
See crontab(1) for more information
You (SudoUserName) are not allowed to use this program (crontab)
See crontab(1) for more information
The UI based Data Collector upgrade schedules the upgrade to run one second after the cron job to run the upgrade is scheduled on the system.
If the non-root sudo root user sudoers config entry does not have rights to run the crontab job it will result in this failure.
Release : 20.2
Component : IM Reporting / Admin / Configuration
Add the /usr/bin/crontab command to the sudo users sudoers file configuration. It can be left there or only added for the upgrade cycle and removed afterward.