Ok, I have a weird thing happening. Daily at 8:00am I have a script that runs(updates some static config files) and the final line is it kicking off the script that is the same as "Apply configuration."
Well, in the list of config snapshots I see one created daily at 8am as expected. I can also see in /var/log/messages that the script is run. The issue I am seeing, is every day at 9:00am another config snapshot is being created. Nothing that I know of is kicking that off and the nagios process is not being restarted either, nothing is in the log. The interesting part is, today the config snapshot was 9:06, yesterday was 9:05, day before 9:04 and so on.... Is there anything in XI that would be doing this?
Config snapshots
Config snapshots
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Config snapshots
I see the exact same phenomenon on my system here, this has been in effect for quite some time, I believe it is a part of the scheduled nagios cron's and happens each morning, it is odd though.. that it the time it is ran increases by a minute each day.. and in some cases only a millisecond..
Re: Config snapshots
You believe? Shouldn't you know? LOLslansing wrote:I believe it is a part of the scheduled nagios cron's
Ok, as long as it isn't something strange on my end, I'm good with it. Feel free to lock this up.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Config snapshots
Well, when I look into it I will know, off the top of my head I do not as most of them are not documented, and I was not around when they were added.
Just giving speculation so you don't sit here without an answer all day.
Re: Config snapshots
Hopefully you read my humor in my "know" comment
I appreciate the reply!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Config snapshots
Yeah I caught that, though we all know how hard it is tell sarcasm over text,
.
This whole snapshot business in the morning is part of a nagios cron that is found in:
it is the nom.php cron, and it's time of running comes directly from it's line within:
This line reads:
Simply change that number, restart apache for assurance, and you should be all set.
This whole snapshot business in the morning is part of a nagios cron that is found in:
Code: Select all
/etc/cron.d/nagiosxiCode: Select all
/usr/local/nagiosxi/html/config.inc.phpCode: Select all
"nom_checkpoint_interval" => 1440, // time (in minutes) between nom checkpointsRe: Config snapshots
I'm not concerned about it and don't care if it is done daily. I was just making sure it was by design. Since I do that custom script daily to handle on-call rotation, I just wanted to make sure it wasn't me somehow doing it. I investigated the heck out of it and was 99.9% sure I wasn't the cause, but there is always that sliver of a chance. Thanks for making sure!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github