Hi,
Does nagios start after the server reboot ?
And how do i find to make sure if it starts ?
Please advise.
Does nagios start after the server reboot
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: Does nagios start after the server reboot
Yes it does. It gets added to chkconfig to start at runlevels 3 and 5:
You can verify with this:
You can verify with this:
Code: Select all
[root@DEV59 ~]$ chkconfig --list | grep nagios
nagios 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nagiosxi 0:off 1:off 2:off 3:on 4:off 5:on 6:off-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: Does nagios start after the server reboot
[root@credit04 ~]# chkconfig --list | grep nagios
when i run chkconfig it did not return me any values, So it means nagios would not start right ?
How do i make the process automated when server is rebooted
when i run chkconfig it did not return me any values, So it means nagios would not start right ?
How do i make the process automated when server is rebooted
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Does nagios start after the server reboot
Are you running this on your Nagios XI server, or are we talking about an agent (like NRPE) running on a particular server?
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: Does nagios start after the server reboot
I am refering to linux agent, sorry about the confusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Does nagios start after the server reboot
It should start at boot also, to check that run
Code: Select all
chkconfig --list | grep xinetdRe: Does nagios start after the server reboot
Run in terminal:
Hope this helps.
Code: Select all
chkconfig --level 35 nagios on
chkconfig --level 35 xinetd onBe sure to check out our Knowledgebase for helpful articles and solutions!
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: Does nagios start after the server reboot
Thank You!
It worked.
It worked.