David Miller wrote: > I found one problem on my system. I think it was due to having grsec > compiled into the kernel, though there may have been a "secure ps" > package installed somewhere. > > The difference between "identical" systems where one worked and one > didn't is that running "ps" on the one that didn't work would only > show processes for that user, and it would take the real uid, not the > euid. So a "ps" never showed a nagios process.
I've noticed this myself when installing hardened servers with grsec but the ps output should limit you to seeing processes that your user owns, right? So in that case if the check is run by the nagios user then it should be able to it's own process of nagios, so I don't think this is the issue. Root can of course see all procs. -- Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null