Code: Select all
grep nagios /etc/passwd /etc/grouphttps://assets.nagios.com/downloads/nag ... ations.pdf
Code: Select all
grep nagios /etc/passwd /etc/groupCode: Select all
root@nagioslscc2:/var/log> grep nagios /etc/passwd /etc/group
/etc/passwd:nagios:x:996:994::/var/spool/nagios:/sbin/nologin
/etc/group:nagios:x:994:nrpe,nagios,apache
/etc/group:apache:x:48:nagios
/etc/group:nagcmd:x:3031:nagios
Code: Select all
//10.128.207.113/NLSREPCC /nlsrepcc cifs rw,username=nagios,password=password,uid=996,gid=994,file_mode=0770,dir_mode=0770 0 0Code: Select all
/etc/passwd:nagios:x:987:982::/var/spool/nagios:/bin/bash
/etc/group:nagios:x:982:apache,nrpe,nagios
/etc/group:apache:x:48:nagios
/etc/group:nagcmd:x:3031:nagios
Code: Select all
//10.128.207.113/NLSREPCC /nlsrepcc cifs rw,username=nagios,password=password,uid=987,gid=982,file_mode=0770,dir_mode=0770 0 0Code: Select all
/etc/passwd:nagios:x:3033:100::/home/nagios:/bin/bash
/etc/group:apache:x:48:nagios
/etc/group:nagios:x:3033:nagios,apache
/etc/group:nagcmd:x:3034:nagios
Code: Select all
//10.128.207.113/NLSREPCC /nlsrepcc cifs rw,username=nagios,password=password,uid=3033,gid=100,file_mode=0770,dir_mode=0770 0 0Code: Select all
//10.128.207.113/NLSREPCC /nlsrepcc cifs rw,username=nagios,password=password,uid=3033,gid=100,file_mode=0770,dir_mode=0770 0 0Code: Select all
//10.128.207.113/NLSREPCC /nlsrepcc cifs rw,username=nagios,password=password,uid=3033,gid=3033,file_mode=0770,dir_mode=0770 0 0Make that change and then remount the driveCode: Select all
/etc/group:nagios:x:3033:nagios,apache
Code: Select all
su nagios -c 'touch /nlsrepcc/test_LSCC1'Code: Select all
su nagios -c 'touch /nlsrepcc/test_LSCC1'Code: Select all
su nagios -c 'touch /nlsrepcc/test_LSCC3'Code: Select all
ls -al /nlsrepcc/test_LSCC*Code: Select all
rm -f /nlsrepcc/test_LSCC*Sounds good!rferebee wrote:Ok, all of that worked, minus the fact that somehow the nagios account password wasn't set correctly on LSCC2. Not sure how the heck that changed.
I'll let you folks know tomorrow whether or not the snapshot ran overnight.
Thanks for your continued support!