Re: Consulta Nagvis
Posted: Wed Aug 22, 2018 5:17 pm
I executed them and I got a state
[root@localhost nagios]# service nagios stop
Redirecting to /bin/systemctl stop nagios.service
[root@localhost nagios]# service ndo2db stop
Redirecting to /bin/systemctl stop ndo2db.service
[root@localhost nagios]# killall -9 ndo2db
ndo2db: no process found
[root@localhost nagios]# pkill -9 ndo2db
[root@localhost nagios]# service ndo2db start
Redirecting to /bin/systemctl start ndo2db.service
[root@localhost nagios]# service nagios start
Redirecting to /bin/systemctl start nagios.service
[root@localhost nagios]#
[root@localhost nagios]# service ndo2db status -l
Redirecting to /bin/systemctl status -l ndo2db.service
â— ndo2db.service - Nagios Data Out Daemon
Loaded: loaded (/usr/lib/systemd/system/ndo2db.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since mié 2018-08-22 17:09:18 -05; 3min 47s ago
Docs: http://www.nagios.org/documentation
Process: 19071 ExecStopPost=/bin/rm -f /usr/local/nagios/var/ndo2db.pid (code=exited, status=0/SUCCESS)
Process: 19062 ExecStart=/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f (code=exited, status=1/FAILURE)
Main PID: 19062 (code=exited, status=1/FAILURE)
ago 22 17:09:18 localhost.localdomain systemd[1]: Started Nagios Data Out Daemon.
ago 22 17:09:18 localhost.localdomain systemd[1]: Starting Nagios Data Out Daemon...
ago 22 17:09:18 localhost.localdomain ndo2db[19062]: Could not bind socket: Address already in use
ago 22 17:09:18 localhost.localdomain systemd[1]: ndo2db.service: main process exited, code=exited, status=1/FAILURE
ago 22 17:09:18 localhost.localdomain systemd[1]: Unit ndo2db.service entered failed state.
ago 22 17:09:18 localhost.localdomain systemd[1]: ndo2db.service failed.
[root@localhost nagios]#
[root@localhost nagios]# service nagios stop
Redirecting to /bin/systemctl stop nagios.service
[root@localhost nagios]# service ndo2db stop
Redirecting to /bin/systemctl stop ndo2db.service
[root@localhost nagios]# killall -9 ndo2db
ndo2db: no process found
[root@localhost nagios]# pkill -9 ndo2db
[root@localhost nagios]# service ndo2db start
Redirecting to /bin/systemctl start ndo2db.service
[root@localhost nagios]# service nagios start
Redirecting to /bin/systemctl start nagios.service
[root@localhost nagios]#
[root@localhost nagios]# service ndo2db status -l
Redirecting to /bin/systemctl status -l ndo2db.service
â— ndo2db.service - Nagios Data Out Daemon
Loaded: loaded (/usr/lib/systemd/system/ndo2db.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since mié 2018-08-22 17:09:18 -05; 3min 47s ago
Docs: http://www.nagios.org/documentation
Process: 19071 ExecStopPost=/bin/rm -f /usr/local/nagios/var/ndo2db.pid (code=exited, status=0/SUCCESS)
Process: 19062 ExecStart=/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f (code=exited, status=1/FAILURE)
Main PID: 19062 (code=exited, status=1/FAILURE)
ago 22 17:09:18 localhost.localdomain systemd[1]: Started Nagios Data Out Daemon.
ago 22 17:09:18 localhost.localdomain systemd[1]: Starting Nagios Data Out Daemon...
ago 22 17:09:18 localhost.localdomain ndo2db[19062]: Could not bind socket: Address already in use
ago 22 17:09:18 localhost.localdomain systemd[1]: ndo2db.service: main process exited, code=exited, status=1/FAILURE
ago 22 17:09:18 localhost.localdomain systemd[1]: Unit ndo2db.service entered failed state.
ago 22 17:09:18 localhost.localdomain systemd[1]: ndo2db.service failed.
[root@localhost nagios]#