Page 1 of 1

Nagsioxi running under a different act

Posted: Tue Mar 19, 2013 4:09 pm
by rdhall01
my nagios processes are running under a different account this act is not local but and LDAP acct
[root@infral017 log]# su -l ddash
su: warning: cannot change directory to /home/ddash: No such file or directory
-bash-3.2$ ps -aux |grep ddash
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
ddash 2064 0.0 0.0 170304 980 ? S Feb12 0:45 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
ddash 14121 0.0 0.0 44672 564 ? Ss Feb12 0:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
ddash 20350 0.0 0.0 136408 2660 ? S 16:57 0:00 crond
ddash 20351 0.0 0.0 136408 2660 ? S 16:57 0:00 crond
ddash 20352 0.0 0.0 136408 2660 ? S 16:57 0:00 crond
ddash 20353 0.0 0.0 136408 2660 ? S 16:57 0:00 crond
ddash 20355 0.0 0.0 136408 2660 ? S 16:57 0:00 crond
ddash 20359 0.0 0.0 8716 968 ? Ss 16:57 0:00 /bin/sh -c /usr/bin/php -q /u sr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
ddash 20361 0.8 0.1 179404 19592 ? S 16:57 0:00 /usr/bin/php -q /usr/local/na giosxi/cron/perfdataproc.php
ddash 20363 0.0 0.0 8716 968 ? Ss 16:57 0:00 /bin/sh -c /usr/bin/php -q /u sr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
ddash 20364 0.7 0.1 179412 19532 ? S 16:57 0:00 /usr/bin/php -q /usr/local/na giosxi/cron/cmdsubsys.php
ddash 20365 0.0 0.0 8716 972 ? Ss 16:57 0:00 /bin/sh -c /usr/bin/php -q /u sr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1
ddash 20366 1.1 0.1 185872 26112 ? S 16:57 0:00 /usr/bin/php -q /usr/local/na giosxi/cron/eventman.php
ddash 20367 0.0 0.0 8716 968 ? Ss 16:57 0:00 /bin/sh -c /usr/bin/php -q /u sr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1
ddash 20368 0.8 0.1 179172 19336 ? S 16:57 0:00 /usr/bin/php -q /usr/local/na giosxi/cron/feedproc.php
ddash 20379 0.0 0.0 8716 972 ? Ss 16:57 0:00 /bin/sh -c /usr/bin/php -q /u sr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
ddash 20380 0.9 0.1 179404 19888 ? S 16:57 0:00 /usr/bin/php -q /usr/local/na giosxi/cron/sysstat.php
root 20450 0.0 0.0 133144 2388 pts/2 S 16:57 0:00 su -l ddash
ddash 20451 0.0 0.0 64196 1468 pts/2 S 16:57 0:00 -bash
ddash 20737 0.0 0.0 63728 944 pts/2 R+ 16:57 0:00 ps -aux
ddash 20738 0.0 0.0 61188 764 pts/2 S+ 16:57 0:00 grep ddash
ddash 22218 1.5 0.0 34628 10484 ? Ssl 15:54 0:59 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
ddash 23764 0.0 0.0 46764 1372 ? S 15:56 0:02 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
ddash 23765 0.4 0.0 47592 2320 ? S 15:56 0:16 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
-bash-3.2$ exit


how can this be if I run the file perfmission check everything comes back as normal

Config File Permissions Check

Config Scripts
The permissions on the Nagios XI configuration scripts appear to be okay.

This has most of nagios messed up and alerts not working.

Re: Nagsioxi running under a different act

Posted: Tue Mar 19, 2013 4:53 pm
by slansing
It sounds like this was resolved over the phone, closing as resolved. If this re-appears please open a new thread referencing this one. Thank you!