Configuration Snapshot restore is scheduled.
Configuration Snapshot restore is scheduled.
Trying to restore a config snapshot and the following message is displayed: "Configure snapshot restore has been scheduled."
Also, in the Audit Log states: User restored system to config snapsnot '1549562589'. But I do not see the changes restored.
Please clarify the action, also, where can I see the schedule?
Also, in the Audit Log states: User restored system to config snapsnot '1549562589'. But I do not see the changes restored.
Please clarify the action, also, where can I see the schedule?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Configuration Snapshot restore is scheduled.
Hello @TBT,
Can you run the following command, try restoring snapshot again and then post the output for us to review.
Thanks.
Can you run the following command, try restoring snapshot again and then post the output for us to review.
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Configuration Snapshot restore is scheduled.
PROCESSED 0 COMMANDS
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491
.........PROCESSING COMMAND ID 14238...
PROCESS COMMAND: CMD=1113, DATA=1549562303 restore
CMDLINE=/usr/local/nagiosxi/scripts/ccm_snapshot.sh 1549562303 restore
Restoring CCMl snapshot
Removing old files from /usr/local/nagios/etc
/ ~
RESTORING NOM SNAPSHOT : /usr/local/nagiosxi/nom/checkpoints/nagioscore/1549562303.tar.gz
tar: usr/local/nagios/etc/import: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/import: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp/pages: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp/pages: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp/check_commands: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp/check_commands: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/static: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/static: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/hosts: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/hosts: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/backup: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/backup: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/services: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/services: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: Exiting with failure status due to previous errors
~
No entry for terminal type "unknown";
using dumb terminal settings.
--- reset_config_perms.sh ------------
> Setting CCM script permissions
> Setting script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting NOM checkpoint user:group permissions
> + Setting Nagios Core corelog.newobjects user:group permissions
> + Setting CCM configuration file user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
Restoring CCM databases...
Restore Complete.
OUTPUT=Restore Complete.
RETURNCODE=0
............................
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491
.........PROCESSING COMMAND ID 14238...
PROCESS COMMAND: CMD=1113, DATA=1549562303 restore
CMDLINE=/usr/local/nagiosxi/scripts/ccm_snapshot.sh 1549562303 restore
Restoring CCMl snapshot
Removing old files from /usr/local/nagios/etc
/ ~
RESTORING NOM SNAPSHOT : /usr/local/nagiosxi/nom/checkpoints/nagioscore/1549562303.tar.gz
tar: usr/local/nagios/etc/import: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/import: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp/pages: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp/pages: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp/check_commands: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp/check_commands: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/static: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/static: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/hosts: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/hosts: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/backup: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/backup: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/services: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/services: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: Exiting with failure status due to previous errors
~
No entry for terminal type "unknown";
using dumb terminal settings.
--- reset_config_perms.sh ------------
> Setting CCM script permissions
> Setting script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting NOM checkpoint user:group permissions
> + Setting Nagios Core corelog.newobjects user:group permissions
> + Setting CCM configuration file user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
Restoring CCM databases...
Restore Complete.
OUTPUT=Restore Complete.
RETURNCODE=0
............................
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Configuration Snapshot restore is scheduled.
Hi @TBT,
It looks like you have some issues with your permissions settings. Please log in as root, and run the following:
Let me know if this resolves the issue. If not please, try again and post the log file.
It looks like you have some issues with your permissions settings. Please log in as root, and run the following:
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_perms.sh
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Configuration Snapshot restore is scheduled.
Same result.
OUTPUT=
RETURNCODE=0
.....PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491
...
PROCESSED 1 COMMANDS
....PROCESSING COMMAND ID 14242...
PROCESS COMMAND: CMD=1113, DATA=1549562303 restore
CMDLINE=/usr/local/nagiosxi/scripts/ccm_snapshot.sh 1549562303 restore
Restoring CCMl snapshot
Removing old files from /usr/local/nagios/etc
/ ~
RESTORING NOM SNAPSHOT : /usr/local/nagiosxi/nom/checkpoints/nagioscore/1549562303.tar.gz
tar: usr/local/nagios/etc/import: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/import: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp/pages: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp/pages: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp/check_commands: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp/check_commands: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/static: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/static: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/hosts: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/hosts: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/backup: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/backup: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/services: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/services: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: Exiting with failure status due to previous errors
~
No entry for terminal type "unknown";
using dumb terminal settings.
--- reset_config_perms.sh ------------
> Setting CCM script permissions
> Setting script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting NOM checkpoint user:group permissions
> + Setting Nagios Core corelog.newobjects user:group permissions
> + Setting CCM configuration file user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
Restoring CCM databases...
Restore Complete.
OUTPUT=Restore Complete.
RETURNCODE=0
..PROCESSING COMMAND ID 14243...
OUTPUT=
RETURNCODE=0
.....PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491
...
PROCESSED 1 COMMANDS
....PROCESSING COMMAND ID 14242...
PROCESS COMMAND: CMD=1113, DATA=1549562303 restore
CMDLINE=/usr/local/nagiosxi/scripts/ccm_snapshot.sh 1549562303 restore
Restoring CCMl snapshot
Removing old files from /usr/local/nagios/etc
/ ~
RESTORING NOM SNAPSHOT : /usr/local/nagiosxi/nom/checkpoints/nagioscore/1549562303.tar.gz
tar: usr/local/nagios/etc/import: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/import: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp/pages: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp/pages: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp/check_commands: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp/check_commands: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/pnp: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/pnp: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/static: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/static: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/hosts: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/hosts: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/backup: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/backup: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/services: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/services: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: Exiting with failure status due to previous errors
~
No entry for terminal type "unknown";
using dumb terminal settings.
--- reset_config_perms.sh ------------
> Setting CCM script permissions
> Setting script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting NOM checkpoint user:group permissions
> + Setting Nagios Core corelog.newobjects user:group permissions
> + Setting CCM configuration file user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
Restoring CCM databases...
Restore Complete.
OUTPUT=Restore Complete.
RETURNCODE=0
..PROCESSING COMMAND ID 14243...
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Configuration Snapshot restore is scheduled.
What is the status of your nagios user account, is it expired?
Can you run the following and post the output?
Code: Select all
chage -l nagios
Code: Select all
su - nagios
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Configuration Snapshot restore is scheduled.
@benjaminsmith
# chage -l nagios
Last password change : Nov 05, 2012
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
# su - nagios
# cd /usr/local/nagiosxi/scripts
# ./reconfigure_nagios.sh
--- reset_config_perms.sh ------------
> Setting CCM script permissions
> Setting script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
/bin/chmod: cannot access `/usr/local/nagios/share/perfdata/CALIX_BLADE_OCCMTRNCR02SHN/_HOST_.xml.25958': No such file or directory
/bin/chmod: cannot access `/usr/local/nagios/share/perfdata/CALIX_VLHLL_01_01/_HOST_.xml.25958': No such file or directory
/bin/chmod: cannot access `/usr/local/nagios/share/perfdata/GRLDMENRR04/_HOST_.xml.25958': No such file or directory
/bin/chmod: cannot access `/usr/local/nagios/share/perfdata/CALIX_MCLCH_01_01/_HOST_.xml.25958': No such file or directory
> Setting NOM checkpoint user:group permissions
> + Setting Nagios Core corelog.newobjects user:group permissions
> + Setting CCM configuration file user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
--- ccm_import.php -------------------
> Setting import directory: /usr/local/nagios/etc/import/
> Importing config files into the CCM
No files to import
--------------------------------------
--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491
Finished writing out configuraton
--------------------------------------
--------------------------------------
> Verifying configuration with Nagios Core
> Output:
Nagios Core 4.4.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2018-08-16
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Ping' on host 'FRNTMENRR01' (config file '/usr/local/nagios/etc/services/FRNTMENRR01.cfg', starting on line 523)
Warning: Duplicate definition found for service 'TenGigabitEthernet3/4 ACCESS TO NETFLIX-C004 BB-795C Status' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1518)
Warning: Duplicate definition found for service 'TenGigabitEthernet3/4 ACCESS TO NETFLIX-C004 BB-795C Bandwidth' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1486)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1064)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1049)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1033)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1018)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1003)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 988)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 972)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 955)
Warning: Duplicate definition found for service 'Ping' on host 'MCKLMENRR01' (config file '/usr/local/nagios/etc/services/ MCKLMENRR01.cfg', starting on line 32)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Warning: Service 'Ping' on host 'CALIX_SHRWD_01_08' has no default contacts or contactgroups defined!
Warning: Service 'Intercity Industrial - 8073516371 - Bandwidth' on host 'E720_COURT_01' has no default contacts or contactgroups defined!
Warning: Service 'PON 1-1-1 - BANNG-01 - BT600A - Bandwidth' on host 'E720_COURT_01' has no default contacts or contactgroups defined!
Warning: Service 'PON 1-1-2 - BANNG-02 - BT600B - Bandwidth' on host 'E720_COURT_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E720_COURT_01' has no default contacts or contactgroups defined!
Warning: Service 'Halfway Motors Mazda - 8073513372 - Bandwidth' on host 'E720_LITHIUM_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E720_LITHIUM_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E720_NEEBING_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E720_SHUNIAH_01' has no default contacts or contactgroups defined!
Warning: Service 'Dave Meunier - 8073512026 - Bandwidth' on host 'E720_VICKERS_01' has no default contacts or contactgroups defined!
Warning: Service 'MacIvor Scrimshaw LLP - 8073509755 - Bandwidth' on host 'E720_VICKERS_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E720_VICKERS_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E72_FANSHAW_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E72_FANSHAW_02' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'VKRSIPCVR01' has no default contacts or contactgroups defined!
Checked 5803 services.
Warning: Host 'BlakeSco_HWY61_IP10' has no default contacts or contactgroups defined!
Warning: Host 'CALIX_SHRWD_01_08' has no default contacts or contactgroups defined!
Warning: Host 'Cloud_Lk_Hub_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Community_Intola_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Crooks_Hub_IP10' has no default contacts or contactgroups defined!
Warning: Host 'E720_COURT_01' has no default contacts or contactgroups defined!
Warning: Host 'E720_LITHIUM_01' has no default contacts or contactgroups defined!
Warning: Host 'E720_NEEBING_01' has no default contacts or contactgroups defined!
Warning: Host 'E720_SHUNIAH_01' has no default contacts or contactgroups defined!
Warning: Host 'E720_VICKERS_01' has no default contacts or contactgroups defined!
Warning: Host 'E72_FANSHAW_01' has no default contacts or contactgroups defined!
Warning: Host 'E72_FANSHAW_02' has no default contacts or contactgroups defined!
Warning: Host 'Hwy527_Wardrope_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Intola_Community_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Jumbo_Shuniah_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Pigeon_Crooks_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Rogers Loon_Hub_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Rogers Wardrope_Hub_IP10' has no default contacts or contactgroups defined!
Warning: Host 'S.Gillies_Whitefish_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Shuniah_Jumbo_IP10' has no default contacts or contactgroups defined!
Warning: Host 'SilverLk_LoonLk_IP10' has no default contacts or contactgroups defined!
Warning: Host 'VKRSIPCVR01' has no default contacts or contactgroups defined!
Warning: Host 'Whitefish_S.Gillies_IP10' has no default contacts or contactgroups defined!
Checked 1526 hosts.
Checked 8 host groups.
Checked 6 service groups.
Checked 47 contacts.
Checked 6 contact groups.
Checked 154 commands.
Checked 52 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1526 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 52 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 38
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------
Stopping nagios: ...done.
Starting nagios: done.
# chage -l nagios
Last password change : Nov 05, 2012
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
# su - nagios
# cd /usr/local/nagiosxi/scripts
# ./reconfigure_nagios.sh
--- reset_config_perms.sh ------------
> Setting CCM script permissions
> Setting script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
/bin/chmod: cannot access `/usr/local/nagios/share/perfdata/CALIX_BLADE_OCCMTRNCR02SHN/_HOST_.xml.25958': No such file or directory
/bin/chmod: cannot access `/usr/local/nagios/share/perfdata/CALIX_VLHLL_01_01/_HOST_.xml.25958': No such file or directory
/bin/chmod: cannot access `/usr/local/nagios/share/perfdata/GRLDMENRR04/_HOST_.xml.25958': No such file or directory
/bin/chmod: cannot access `/usr/local/nagios/share/perfdata/CALIX_MCLCH_01_01/_HOST_.xml.25958': No such file or directory
> Setting NOM checkpoint user:group permissions
> + Setting Nagios Core corelog.newobjects user:group permissions
> + Setting CCM configuration file user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
--- ccm_import.php -------------------
> Setting import directory: /usr/local/nagios/etc/import/
> Importing config files into the CCM
No files to import
--------------------------------------
--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491
Finished writing out configuraton
--------------------------------------
--------------------------------------
> Verifying configuration with Nagios Core
> Output:
Nagios Core 4.4.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2018-08-16
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Ping' on host 'FRNTMENRR01' (config file '/usr/local/nagios/etc/services/FRNTMENRR01.cfg', starting on line 523)
Warning: Duplicate definition found for service 'TenGigabitEthernet3/4 ACCESS TO NETFLIX-C004 BB-795C Status' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1518)
Warning: Duplicate definition found for service 'TenGigabitEthernet3/4 ACCESS TO NETFLIX-C004 BB-795C Bandwidth' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1486)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1064)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1049)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1033)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1018)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 1003)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 988)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 972)
Warning: Duplicate definition found for service 'Ping' on host 'VKRSIPCRR02' (config file '/usr/local/nagios/etc/services/VKRSIPCRR02.cfg', starting on line 955)
Warning: Duplicate definition found for service 'Ping' on host 'MCKLMENRR01' (config file '/usr/local/nagios/etc/services/ MCKLMENRR01.cfg', starting on line 32)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Warning: Service 'Ping' on host 'CALIX_SHRWD_01_08' has no default contacts or contactgroups defined!
Warning: Service 'Intercity Industrial - 8073516371 - Bandwidth' on host 'E720_COURT_01' has no default contacts or contactgroups defined!
Warning: Service 'PON 1-1-1 - BANNG-01 - BT600A - Bandwidth' on host 'E720_COURT_01' has no default contacts or contactgroups defined!
Warning: Service 'PON 1-1-2 - BANNG-02 - BT600B - Bandwidth' on host 'E720_COURT_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E720_COURT_01' has no default contacts or contactgroups defined!
Warning: Service 'Halfway Motors Mazda - 8073513372 - Bandwidth' on host 'E720_LITHIUM_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E720_LITHIUM_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E720_NEEBING_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E720_SHUNIAH_01' has no default contacts or contactgroups defined!
Warning: Service 'Dave Meunier - 8073512026 - Bandwidth' on host 'E720_VICKERS_01' has no default contacts or contactgroups defined!
Warning: Service 'MacIvor Scrimshaw LLP - 8073509755 - Bandwidth' on host 'E720_VICKERS_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E720_VICKERS_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E72_FANSHAW_01' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'E72_FANSHAW_02' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'VKRSIPCVR01' has no default contacts or contactgroups defined!
Checked 5803 services.
Warning: Host 'BlakeSco_HWY61_IP10' has no default contacts or contactgroups defined!
Warning: Host 'CALIX_SHRWD_01_08' has no default contacts or contactgroups defined!
Warning: Host 'Cloud_Lk_Hub_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Community_Intola_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Crooks_Hub_IP10' has no default contacts or contactgroups defined!
Warning: Host 'E720_COURT_01' has no default contacts or contactgroups defined!
Warning: Host 'E720_LITHIUM_01' has no default contacts or contactgroups defined!
Warning: Host 'E720_NEEBING_01' has no default contacts or contactgroups defined!
Warning: Host 'E720_SHUNIAH_01' has no default contacts or contactgroups defined!
Warning: Host 'E720_VICKERS_01' has no default contacts or contactgroups defined!
Warning: Host 'E72_FANSHAW_01' has no default contacts or contactgroups defined!
Warning: Host 'E72_FANSHAW_02' has no default contacts or contactgroups defined!
Warning: Host 'Hwy527_Wardrope_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Intola_Community_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Jumbo_Shuniah_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Pigeon_Crooks_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Rogers Loon_Hub_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Rogers Wardrope_Hub_IP10' has no default contacts or contactgroups defined!
Warning: Host 'S.Gillies_Whitefish_IP10' has no default contacts or contactgroups defined!
Warning: Host 'Shuniah_Jumbo_IP10' has no default contacts or contactgroups defined!
Warning: Host 'SilverLk_LoonLk_IP10' has no default contacts or contactgroups defined!
Warning: Host 'VKRSIPCVR01' has no default contacts or contactgroups defined!
Warning: Host 'Whitefish_S.Gillies_IP10' has no default contacts or contactgroups defined!
Checked 1526 hosts.
Checked 8 host groups.
Checked 6 service groups.
Checked 47 contacts.
Checked 6 contact groups.
Checked 154 commands.
Checked 52 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1526 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 52 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 38
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------
Stopping nagios: ...done.
Starting nagios: done.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Configuration Snapshot restore is scheduled.
So this is odd, the technician that requested the restore is now reporting that the Service we needed to roll-back has taken place.
That being said, I issued a Restore of the same config from within the GUI and watched the logs, errors are present as outlined in the previous posts. Very perplexing.
If a Restore is scheduled, would it occur 24 hours after issued? I ask because nobody was making changes on this host and there is a new restore point which lines up roughly with the time we issued it yesterday: 2019-02-08 13:53:17 Config Ok 1549651997.tar.gz
That being said, I issued a Restore of the same config from within the GUI and watched the logs, errors are present as outlined in the previous posts. Very perplexing.
If a Restore is scheduled, would it occur 24 hours after issued? I ask because nobody was making changes on this host and there is a new restore point which lines up roughly with the time we issued it yesterday: 2019-02-08 13:53:17 Config Ok 1549651997.tar.gz
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Configuration Snapshot restore is scheduled.
Hello @TBT,
That is odd. I would like to gather some more information from your system to review.
1. System Profile
Please send me a copy of your profile, you can download it from Admin > System Profile > Download Profile and then share it in a private message.
2. Let's review your sudoers file for incorrect entries. Run the following command and post the output.
3. Also nom directory contains the checkpoint data for configuration snapshots. Please run the following command and post the output.
Thank you.
That is odd. I would like to gather some more information from your system to review.
1. System Profile
Please send me a copy of your profile, you can download it from Admin > System Profile > Download Profile and then share it in a private message.
2. Let's review your sudoers file for incorrect entries. Run the following command and post the output.
Code: Select all
cat /etc/sudoers
Code: Select all
ls -lR /usr/local/nagiosxi/nom
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Configuration Snapshot restore is scheduled.
1. Profile sent.
2. Lines from /etc/sudoers which include Nagios.
User_Alias NAGIOSXI=nagios
User_Alias NAGIOSXIWEB=apache
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/reset_config_perms.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_ssl_config.sh *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/backup_xi.sh *
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
3. Checkpoint data from /usr/local/nagiosxi/nom
/usr/local/nagiosxi/nom:
total 4
drwxr-xr-x. 4 nagios nagios 4096 Nov 5 2012 checkpoints
/usr/local/nagiosxi/nom/checkpoints:
total 8
drwxr-xr-x. 4 nagios nagios 4096 Feb 8 13:54 nagioscore
drwxr-xr-x. 3 nagios nagios 4096 Feb 8 13:54 nagiosxi
/usr/local/nagiosxi/nom/checkpoints/nagioscore:
total 3724
-rw-r--r-- 1 nagios nagios 368694 Feb 7 12:59 1549562393.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 12:59 1549562393.txt
-rw-r--r-- 1 nagios nagios 368714 Feb 7 13:03 1549562589.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 13:03 1549562589.txt
-rw-r--r-- 1 nagios nagios 368745 Feb 7 13:06 1549562814.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 13:06 1549562814.txt
-rw-r--r-- 1 nagios nagios 368723 Feb 7 13:17 1549563445.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 13:17 1549563445.txt
-rw-r--r-- 1 nagios nagios 368783 Feb 7 13:41 1549564908.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 13:41 1549564908.txt
-rw-r--r-- 1 nagios nagios 368789 Feb 7 13:46 1549565198.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 13:46 1549565198.txt
-rw-r--r-- 1 nagios nagios 368777 Feb 7 14:39 1549568379.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 14:39 1549568379.txt
-rw-r--r-- 1 nagios nagios 368785 Feb 7 14:41 1549568475.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 14:41 1549568475.txt
-rw-r--r-- 1 nagios nagios 368719 Feb 7 19:07 1549584423.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 19:07 1549584423.txt
-rw-r--r-- 1 nagios nagios 368634 Feb 8 13:53 1549651997.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 8 13:53 1549651997.txt
drwxr-xr-x 2 nagios users 4096 Feb 8 08:57 archives
drwxr-xr-x. 2 nagios nagios 4096 Feb 7 13:17 errors
/usr/local/nagiosxi/nom/checkpoints/nagioscore/archives:
total 740
-rw-r--r-- 1 nagios users 368629 Feb 8 08:57 1549562303.tar.gz
-rw-r--r-- 1 nagios users 6738 Feb 8 08:57 1549562303.txt
-rw-r--r-- 1 nagios users 368714 Feb 7 16:25 1549562589.tar.gz
-rw-r--r-- 1 nagios users 6738 Feb 7 16:25 1549562589.txt
/usr/local/nagiosxi/nom/checkpoints/nagioscore/errors:
total 2368
-rw-r--r-- 1 nagios nagios 1133 Aug 10 15:30 1533929400.txt
-rw-r--r-- 1 nagios nagios 1082 Aug 13 13:14 1534180449.txt
-rw-r--r-- 1 nagios nagios 1136 Aug 13 13:34 1534181686.txt
-rw-r--r-- 1 nagios nagios 1104 Aug 15 10:18 1534342714.txt
-rw-r--r-- 1 nagios nagios 1104 Aug 15 11:09 1534345782.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:34 1534426441.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:37 1534426645.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:40 1534426800.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:44 1534427054.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:44 1534427082.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:45 1534427147.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:51 1534427515.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:52 1534427548.txt
-rw-r--r-- 1 nagios nagios 3074 Aug 16 10:01 1534428114.txt
-rw-r--r-- 1 nagios nagios 3074 Aug 16 10:06 1534428391.txt
-rw-r--r-- 1 nagios nagios 3074 Aug 16 10:07 1534428468.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 10:25 1534429530.txt
-rw-r--r-- 1 nagios nagios 6738 Aug 20 08:43 1534768996.txt
-rw-r--r-- 1 nagios nagios 6912 Aug 20 13:36 1534786597.txt
-rw-r--r-- 1 nagios nagios 1136 Aug 22 10:01 1534946489.txt
-rw-r--r-- 1 nagios nagios 6738 Aug 22 10:01 1534946504.txt
-rw-r--r-- 1 nagios nagios 1213 Aug 23 16:53 1535057592.txt
-rw-r--r-- 1 nagios nagios 1213 Aug 24 08:14 1535112887.txt
-rw-r--r-- 1 nagios nagios 3220 Aug 27 15:05 1535396740.txt
-rw-r--r-- 1 nagios nagios 3220 Aug 28 11:40 1535470850.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:12 1536243151.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:18 1536243504.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:20 1536243640.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:21 1536243663.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:22 1536243747.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:22 1536243774.txt
-rw-r--r-- 1 nagios nagios 1174 Nov 29 10:44 1543506283.txt
-rw-r--r-- 1 nagios nagios 1174 Nov 29 12:01 1543510882.txt
-rw-r--r-- 1 nagios nagios 1174 Nov 29 12:07 1543511251.txt
-rw-r--r-- 1 nagios nagios 1174 Nov 29 15:01 1543521668.txt
-rw-r--r-- 1 nagios nagios 1174 Nov 29 16:27 1543526826.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 16:28 1543526928.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 16:30 1543527003.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 17:19 1543529972.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 17:24 1543530247.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 17:27 1543530434.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 17:37 1543531051.txt
-rw-r--r-- 1 nagios nagios 364432 Jan 14 10:11 1547478664.tar.gz
-rw-r--r-- 1 nagios nagios 3109 Jan 14 10:11 1547478664.txt
-rw-r--r-- 1 nagios nagios 364524 Jan 16 08:03 1547643830.tar.gz
-rw-r--r-- 1 nagios nagios 986 Jan 16 08:03 1547643830.txt
-rw-r--r-- 1 nagios nagios 364867 Jan 16 10:34 1547652867.tar.gz
-rw-r--r-- 1 nagios nagios 986 Jan 16 10:34 1547652867.txt
-rw-r--r-- 1 nagios nagios 364708 Jan 16 10:38 1547653114.tar.gz
-rw-r--r-- 1 nagios nagios 986 Jan 16 10:38 1547653114.txt
-rw-r--r-- 1 nagios nagios 56917 Jan 28 09:47 1548686868.tar.gz
-rw-r--r-- 1 nagios nagios 1105 Jan 28 09:47 1548686868.txt
-rw-r--r-- 1 nagios nagios 195625 Feb 7 12:51 1549561874.tar.gz
-rw-r--r-- 1 nagios nagios 1083 Feb 7 12:51 1549561874.txt
-rw-r--r-- 1 nagios nagios 368104 Feb 7 13:17 1549563422.tar.gz
-rw-r--r-- 1 nagios nagios 3275 Feb 7 13:17 1549563422.txt
/usr/local/nagiosxi/nom/checkpoints/nagiosxi:
total 3684
-rw-r--r-- 1 nagios nagios 374349 Feb 7 12:59 1549562393_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374454 Feb 7 13:03 1549562589_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374616 Feb 7 13:06 1549562814_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374468 Feb 7 13:17 1549563445_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374569 Feb 7 13:41 1549564908_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374742 Feb 7 13:46 1549565198_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374644 Feb 7 14:39 1549568379_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374601 Feb 7 14:41 1549568475_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 373786 Feb 7 19:07 1549584423_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 373174 Feb 8 13:53 1549651997_nagiosql.sql.gz
drwxr-xr-x 2 nagios users 4096 Feb 8 08:57 archives
/usr/local/nagiosxi/nom/checkpoints/nagiosxi/archives:
total 736
-rw-r--r-- 1 nagios users 374309 Feb 8 08:57 1549562303_nagiosql.sql.gz
-rw-r--r-- 1 nagios users 374454 Feb 7 16:25 1549562589_nagiosql.sql.gz
2. Lines from /etc/sudoers which include Nagios.
User_Alias NAGIOSXI=nagios
User_Alias NAGIOSXIWEB=apache
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/reset_config_perms.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_ssl_config.sh *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/backup_xi.sh *
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
3. Checkpoint data from /usr/local/nagiosxi/nom
/usr/local/nagiosxi/nom:
total 4
drwxr-xr-x. 4 nagios nagios 4096 Nov 5 2012 checkpoints
/usr/local/nagiosxi/nom/checkpoints:
total 8
drwxr-xr-x. 4 nagios nagios 4096 Feb 8 13:54 nagioscore
drwxr-xr-x. 3 nagios nagios 4096 Feb 8 13:54 nagiosxi
/usr/local/nagiosxi/nom/checkpoints/nagioscore:
total 3724
-rw-r--r-- 1 nagios nagios 368694 Feb 7 12:59 1549562393.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 12:59 1549562393.txt
-rw-r--r-- 1 nagios nagios 368714 Feb 7 13:03 1549562589.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 13:03 1549562589.txt
-rw-r--r-- 1 nagios nagios 368745 Feb 7 13:06 1549562814.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 13:06 1549562814.txt
-rw-r--r-- 1 nagios nagios 368723 Feb 7 13:17 1549563445.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 13:17 1549563445.txt
-rw-r--r-- 1 nagios nagios 368783 Feb 7 13:41 1549564908.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 13:41 1549564908.txt
-rw-r--r-- 1 nagios nagios 368789 Feb 7 13:46 1549565198.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 13:46 1549565198.txt
-rw-r--r-- 1 nagios nagios 368777 Feb 7 14:39 1549568379.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 14:39 1549568379.txt
-rw-r--r-- 1 nagios nagios 368785 Feb 7 14:41 1549568475.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 14:41 1549568475.txt
-rw-r--r-- 1 nagios nagios 368719 Feb 7 19:07 1549584423.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 7 19:07 1549584423.txt
-rw-r--r-- 1 nagios nagios 368634 Feb 8 13:53 1549651997.tar.gz
-rw-r--r-- 1 nagios nagios 6738 Feb 8 13:53 1549651997.txt
drwxr-xr-x 2 nagios users 4096 Feb 8 08:57 archives
drwxr-xr-x. 2 nagios nagios 4096 Feb 7 13:17 errors
/usr/local/nagiosxi/nom/checkpoints/nagioscore/archives:
total 740
-rw-r--r-- 1 nagios users 368629 Feb 8 08:57 1549562303.tar.gz
-rw-r--r-- 1 nagios users 6738 Feb 8 08:57 1549562303.txt
-rw-r--r-- 1 nagios users 368714 Feb 7 16:25 1549562589.tar.gz
-rw-r--r-- 1 nagios users 6738 Feb 7 16:25 1549562589.txt
/usr/local/nagiosxi/nom/checkpoints/nagioscore/errors:
total 2368
-rw-r--r-- 1 nagios nagios 1133 Aug 10 15:30 1533929400.txt
-rw-r--r-- 1 nagios nagios 1082 Aug 13 13:14 1534180449.txt
-rw-r--r-- 1 nagios nagios 1136 Aug 13 13:34 1534181686.txt
-rw-r--r-- 1 nagios nagios 1104 Aug 15 10:18 1534342714.txt
-rw-r--r-- 1 nagios nagios 1104 Aug 15 11:09 1534345782.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:34 1534426441.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:37 1534426645.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:40 1534426800.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:44 1534427054.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:44 1534427082.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:45 1534427147.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:51 1534427515.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 09:52 1534427548.txt
-rw-r--r-- 1 nagios nagios 3074 Aug 16 10:01 1534428114.txt
-rw-r--r-- 1 nagios nagios 3074 Aug 16 10:06 1534428391.txt
-rw-r--r-- 1 nagios nagios 3074 Aug 16 10:07 1534428468.txt
-rw-r--r-- 1 nagios nagios 3068 Aug 16 10:25 1534429530.txt
-rw-r--r-- 1 nagios nagios 6738 Aug 20 08:43 1534768996.txt
-rw-r--r-- 1 nagios nagios 6912 Aug 20 13:36 1534786597.txt
-rw-r--r-- 1 nagios nagios 1136 Aug 22 10:01 1534946489.txt
-rw-r--r-- 1 nagios nagios 6738 Aug 22 10:01 1534946504.txt
-rw-r--r-- 1 nagios nagios 1213 Aug 23 16:53 1535057592.txt
-rw-r--r-- 1 nagios nagios 1213 Aug 24 08:14 1535112887.txt
-rw-r--r-- 1 nagios nagios 3220 Aug 27 15:05 1535396740.txt
-rw-r--r-- 1 nagios nagios 3220 Aug 28 11:40 1535470850.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:12 1536243151.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:18 1536243504.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:20 1536243640.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:21 1536243663.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:22 1536243747.txt
-rw-r--r-- 1 nagios nagios 1104 Sep 6 10:22 1536243774.txt
-rw-r--r-- 1 nagios nagios 1174 Nov 29 10:44 1543506283.txt
-rw-r--r-- 1 nagios nagios 1174 Nov 29 12:01 1543510882.txt
-rw-r--r-- 1 nagios nagios 1174 Nov 29 12:07 1543511251.txt
-rw-r--r-- 1 nagios nagios 1174 Nov 29 15:01 1543521668.txt
-rw-r--r-- 1 nagios nagios 1174 Nov 29 16:27 1543526826.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 16:28 1543526928.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 16:30 1543527003.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 17:19 1543529972.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 17:24 1543530247.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 17:27 1543530434.txt
-rw-r--r-- 1 nagios nagios 23981 Nov 29 17:37 1543531051.txt
-rw-r--r-- 1 nagios nagios 364432 Jan 14 10:11 1547478664.tar.gz
-rw-r--r-- 1 nagios nagios 3109 Jan 14 10:11 1547478664.txt
-rw-r--r-- 1 nagios nagios 364524 Jan 16 08:03 1547643830.tar.gz
-rw-r--r-- 1 nagios nagios 986 Jan 16 08:03 1547643830.txt
-rw-r--r-- 1 nagios nagios 364867 Jan 16 10:34 1547652867.tar.gz
-rw-r--r-- 1 nagios nagios 986 Jan 16 10:34 1547652867.txt
-rw-r--r-- 1 nagios nagios 364708 Jan 16 10:38 1547653114.tar.gz
-rw-r--r-- 1 nagios nagios 986 Jan 16 10:38 1547653114.txt
-rw-r--r-- 1 nagios nagios 56917 Jan 28 09:47 1548686868.tar.gz
-rw-r--r-- 1 nagios nagios 1105 Jan 28 09:47 1548686868.txt
-rw-r--r-- 1 nagios nagios 195625 Feb 7 12:51 1549561874.tar.gz
-rw-r--r-- 1 nagios nagios 1083 Feb 7 12:51 1549561874.txt
-rw-r--r-- 1 nagios nagios 368104 Feb 7 13:17 1549563422.tar.gz
-rw-r--r-- 1 nagios nagios 3275 Feb 7 13:17 1549563422.txt
/usr/local/nagiosxi/nom/checkpoints/nagiosxi:
total 3684
-rw-r--r-- 1 nagios nagios 374349 Feb 7 12:59 1549562393_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374454 Feb 7 13:03 1549562589_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374616 Feb 7 13:06 1549562814_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374468 Feb 7 13:17 1549563445_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374569 Feb 7 13:41 1549564908_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374742 Feb 7 13:46 1549565198_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374644 Feb 7 14:39 1549568379_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 374601 Feb 7 14:41 1549568475_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 373786 Feb 7 19:07 1549584423_nagiosql.sql.gz
-rw-r--r-- 1 nagios nagios 373174 Feb 8 13:53 1549651997_nagiosql.sql.gz
drwxr-xr-x 2 nagios users 4096 Feb 8 08:57 archives
/usr/local/nagiosxi/nom/checkpoints/nagiosxi/archives:
total 736
-rw-r--r-- 1 nagios users 374309 Feb 8 08:57 1549562303_nagiosql.sql.gz
-rw-r--r-- 1 nagios users 374454 Feb 7 16:25 1549562589_nagiosql.sql.gz
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2