Re: sudo: unknown uid: 4294967295
Posted: Thu Jun 02, 2016 9:42 am
Hi Sir,
Edited the /etc/sudoers file and still gives me the this message when I logged in as nagios user:
<remote_host>:~ # su nagios
nagios@<remote_host>:/root> /usr/lib/nagios/plugins/tsm_check_del.sh drive
Error executing the command dsmadmc
But using sudo gives the desired output:
nagios@<remote_host>:/root> sudo /usr/lib/nagios/plugins/tsm_check_del.sh drive
drive - number of drives not online 0, OK
I also tried using this same command with sudo on the nrpe.cfg (remote host):
command[tsm_check_del_drive]=sudo /usr/lib/nagios/plugins/tsm_check_del.sh drive
But nagios server still cannot read the output:
[root@<nagios_server> ~]# /usr/local/nagios/libexec/check_nrpe -H <remote_host_IP> -c tsm_check_del_drive drive
NRPE: Unable to read output
Still giving me the sudo: unknown uid: 4294967295 message.
Thanks and Regards,

Edited the /etc/sudoers file and still gives me the this message when I logged in as nagios user:
<remote_host>:~ # su nagios
nagios@<remote_host>:/root> /usr/lib/nagios/plugins/tsm_check_del.sh drive
Error executing the command dsmadmc
But using sudo gives the desired output:
nagios@<remote_host>:/root> sudo /usr/lib/nagios/plugins/tsm_check_del.sh drive
drive - number of drives not online 0, OK
I also tried using this same command with sudo on the nrpe.cfg (remote host):
command[tsm_check_del_drive]=sudo /usr/lib/nagios/plugins/tsm_check_del.sh drive
But nagios server still cannot read the output:
[root@<nagios_server> ~]# /usr/local/nagios/libexec/check_nrpe -H <remote_host_IP> -c tsm_check_del_drive drive
NRPE: Unable to read output
Still giving me the sudo: unknown uid: 4294967295 message.
Thanks and Regards,