Diary backup is random a date.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Diary backup is random a date.

Post by dimsum »

Here output filter with id=1117
**********************************
id time source user type ip_address message
26601 2018-08-28 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26597 2018-08-28 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26327 2018-08-27 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26324 2018-08-27 04:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26271 2018-08-26 05:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26267 2018-08-26 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26255 2018-08-25 05:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26252 2018-08-25 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26191 2018-08-24 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26187 2018-08-24 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26154 2018-08-23 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26151 2018-08-23 04:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26097 2018-08-22 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26094 2018-08-22 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26009 2018-08-21 05:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
26005 2018-08-21 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25929 2018-08-20 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25926 2018-08-20 04:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25895 2018-08-19 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25892 2018-08-19 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25871 2018-08-18 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25868 2018-08-18 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25802 2018-08-17 05:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25799 2018-08-17 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25651 2018-08-16 05:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25644 2018-08-16 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25542 2018-08-15 05:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25539 2018-08-15 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25501 2018-08-14 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25498 2018-08-14 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25489 2018-08-13 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25485 2018-08-13 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25481 2018-08-12 05:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25478 2018-08-12 04:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25462 2018-08-11 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25458 2018-08-11 04:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25408 2018-08-10 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25405 2018-08-10 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25360 2018-08-09 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25356 2018-08-09 04:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25302 2018-08-08 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25299 2018-08-08 04:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25238 2018-08-07 05:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25235 2018-08-07 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25196 2018-08-06 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25193 2018-08-06 04:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25175 2018-08-05 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25171 2018-08-05 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25154 2018-08-04 05:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
25151 2018-08-04 04:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
24816 2018-08-03 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
24813 2018-08-03 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
24299 2018-08-02 05:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
24295 2018-08-02 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
24097 2018-08-01 05:00:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
24094 2018-08-01 04:00:01 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1117)
**********************************
Local backup ls cmd.
drwxr-xr-x 4 root root 35 Feb 27 07:45 ..
-rw-r--r-- 1 nagios nagios 743M Apr 10 16:10 autoupgrade_backup.1523351287.tar.gz
-rw-r--r-- 1 nagios nagios 2.4G Jul 23 04:12 nagiosxi.1532293202.tar.gz
-rw-r--r-- 1 nagios nagios 2.4G Jul 25 04:12 nagiosxi.1532466002.tar.gz
-rw-r--r-- 1 nagios nagios 2.4G Jul 28 04:12 nagiosxi.1532725201.tar.gz
-rw-r--r-- 1 nagios nagios 2.4G Jul 30 04:17 nagiosxi.1532898001.tar.gz
-rw-r--r-- 1 nagios nagios 2.3G Aug 2 04:23 nagiosxi.1533157201.tar.gz
-rw-r--r-- 1 nagios nagios 2.4G Aug 5 04:22 nagiosxi.1533416401.tar.gz
-rw-r--r-- 1 nagios nagios 2.3G Aug 9 04:12 nagiosxi.1533762002.tar.gz
-rw-r--r-- 1 nagios nagios 2.4G Aug 11 04:12 nagiosxi.1533934802.tar.gz
-rw-r--r-- 1 nagios nagios 2.3G Aug 13 04:11 nagiosxi.1534107601.tar.gz
-rw-r--r-- 1 nagios nagios 2.3G Aug 16 04:16 nagiosxi.1534366801.tar.gz
-rw-r--r-- 1 nagios nagios 2.3G Aug 21 04:11 nagiosxi.1534798801.tar.gz
-rw-r--r-- 1 nagios nagios 2.2G Aug 24 04:10 nagiosxi.1535058001.tar.gz
-rw-r--r-- 1 nagios nagios 2.2G Aug 26 04:10 nagiosxi.1535230801.tar.gz
-rw-r--r-- 1 nagios nagios 2.1G Aug 28 04:09 nagiosxi.1535403601.tar.gz
drwxr-xr-x 3 root root 67 Jun 3 23:58 restore

Thanks.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Diary backup is random a date.

Post by ssax »

What does it show if you search for ID=1119?

Did you try putting this at the bottom of your /usr/local/nagiosxi/html/config.inc.php?
- Note: Put it above the DO NOT MODIFY LINE at the bottom like so

Code: Select all

    $cfg['backup_timeout'] = 3600;
    /*********   DO NOT MODIFY ANYTHING BELOW THIS LINE   **********/
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Diary backup is random a date.

Post by dimsum »

Here for id 1119

I just put them $cfg['backup_timeout'] = 3600; in this day.

id time source user type ip_address message
26604 2018-08-28 05:10:42 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26600 2018-08-28 04:09:52 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26332 2018-08-27 05:22:32 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26274 2018-08-26 05:10:42 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26270 2018-08-26 04:10:30 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26258 2018-08-25 05:22:58 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26194 2018-08-24 05:13:34 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26190 2018-08-24 04:10:45 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26157 2018-08-23 05:22:34 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26100 2018-08-22 05:22:33 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26012 2018-08-21 05:15:28 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
26008 2018-08-21 04:11:12 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25932 2018-08-20 05:22:32 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25898 2018-08-19 05:22:32 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25874 2018-08-18 05:22:37 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25805 2018-08-17 05:22:35 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25654 2018-08-16 05:17:19 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25647 2018-08-16 04:16:58 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25545 2018-08-15 05:22:33 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25504 2018-08-14 05:22:32 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25492 2018-08-13 05:16:24 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25488 2018-08-13 04:11:57 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25484 2018-08-12 05:22:35 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25465 2018-08-11 05:12:43 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25461 2018-08-11 04:12:28 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25411 2018-08-10 05:22:33 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25363 2018-08-09 05:16:46 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25359 2018-08-09 04:12:36 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25305 2018-08-08 05:22:34 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25241 2018-08-07 05:22:33 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25199 2018-08-06 05:23:02 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25178 2018-08-05 05:22:38 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25174 2018-08-05 04:22:03 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
25157 2018-08-04 05:22:33 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
24819 2018-08-03 05:12:18 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
24302 2018-08-02 05:22:39 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
24298 2018-08-02 04:22:54 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
24100 2018-08-01 05:22:30 Nagios XI NULL 32 localhost User submitted a command to the subsystem (ID=1119)
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Diary backup is random a date.

Post by ssax »

Can you try disabling the SSH backups for a night or two to see if that allows it to work for the local ones?
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Diary backup is random a date.

Post by dimsum »

I have upgraded to 5.5.3 and waiting for the result.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Diary backup is random a date.

Post by ssax »

Ok, if it doesn't work with both enabled, can you try it only one method enabled?
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Diary backup is random a date.

Post by dimsum »

Now I have upgraded to 5.5.3 now it looks good. let me check and confirming again a problem really gone away.

Thank you.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Diary backup is random a date.

Post by ssax »

Ok great, let us know how it goes.
Locked