[root@server var]# ls -lh /usr/local/nagiosxi/scripts/
total 1.1M
drwxr-xr-x 3 nagios nagios 4.0K Jan 30 19:10 automation
-r-xr-x---. 1 root nagios 7.6K Jan 30 19:10 backup_xi.sh
-r-xr-x--- 1 nagios nagios 8.0K Jan 30 19:10 ccm_delete_object.php
-r-xr-x--- 1 nagios nagios 1.1K Jan 30 19:10 ccm_export.php
-r-xr-x--- 1 nagios nagios 1.6K Jan 30 19:10 ccm_import.php
-r-xr-x--- 1 nagios nagios 3.2K Jan 30 19:10 ccm_snapshot.sh
-r-xr-x---. 1 root nagios 1.8K Jan 30 19:10 change_timezone.sh
drwxr-xr-x 2 root nagios 4.0K Jan 30 19:10 components
-rwxr-xr-x. 1 nagios nagios 2.8K Jan 30 19:10 contact_notification_handler.php
-rwxr-xr-x. 1 nagios nagios 660 Apr 29 2017 export_nagiosql.sh
-rwxr-xr-x. 1 nagios nagios 266 Jan 30 19:10 handle_nagioscore_event.php
-rwxr-xr-x. 1 nagios nagios 3.9K Jan 30 19:10 handle_nagioscore.inc.php
-rwxr-xr-x. 1 nagios nagios 267 Jan 30 19:10 handle_nagioscore_notification.php
-rwxr-xr-x. 1 nagios nagios 425 Apr 29 2017 import_nagiosql.sh
-r-xr-x---. 1 root nagios 1.3K Jan 30 19:10 import_xiconfig.php
-rwxr-xr-x 1 nagios nagios 705 Jan 30 19:10 initialize_mibs.php
-rwxr-xr-x. 1 nagios nagios 93 Apr 29 2017 kill_rrdtool.sh
-r-xr-x---. 1 root nagios 3.6K Jan 30 19:10 manage_services.sh
-r-xr-x--- 1 root nagios 3.8K Jan 30 19:10 manage_ssl_config.sh
-rwxr-xr-x. 1 nagios nagios 161 Jan 29 17:51 nagiosql.cookies
-rwxr-xr-x. 1 nagios nagios 278K Jan 30 19:10 nagiosql_defaults.sql
-rwxr-xr-x 1 nagios nagios 49K Jan 25 2018 nagiosql.delete.contact
-rwxr-xr-x. 1 nagios nagios 895 Apr 29 2017 nagiosql_delete_contact.php
-rwxr-xr-x 1 nagios nagios 52K May 9 2019 nagiosql.delete.host
-rwxr-xr-x. 1 nagios nagios 1.9K Apr 29 2017 nagiosql_delete_host.php
-rwxr-xr-x. 1 nagios nagios 497 Apr 29 2017 nagiosql_delete_object.sh
-rwxr-xr-x 1 nagios nagios 100K Sep 16 18:03 nagiosql.delete.service
-rwxr-xr-x. 1 nagios nagios 2.8K Apr 29 2017 nagiosql_delete_service.php
-rwxr-xr-x 1 nagios nagios 49K Jan 25 2018 nagiosql.delete.timeperiod
-rwxr-xr-x. 1 nagios nagios 896 Apr 29 2017 nagiosql_delete_timeperiod.php
-rwxr-xr-x. 1 nagios nagios 1.3K Apr 29 2017 nagiosql_exportall.php
-rwxr-xr-x. 1 nagios nagios 21K Jan 29 17:51 nagiosql.export.monitoring
-rwxr-xr-x. 1 nagios nagios 1.3K Apr 29 2017 nagiosql_importall.php
-rwxr-xr-x. 1 nagios nagios 216K Dec 19 14:54 nagiosql.import.monitoring
-rwxr-xr-x. 1 nagios nagios 38K Jan 29 17:51 nagiosql.login
-rwxr-xr-x. 1 nagios nagios 1.7K Apr 29 2017 nagiosql_login.php
-rwxr-xr-x. 1 nagios nagios 2.2K Apr 29 2017 nagiosql_snapshot.sh
-rwxr-xr-x. 1 nagios nagios 200 Apr 29 2017 nagiosql_trim_backups.sh
-rwxr-xr-x. 1 nagios nagios 366 Apr 29 2017 nagiosxi_dbtype.php
-rwxr-xr-x. 1 nagios nagios 506 Jan 30 19:10 nom_create_nagioscore_checkpoint_cond.sh
-rwxr-xr-x. 1 nagios nagios 986 Jan 30 19:10 nom_create_nagioscore_checkpoint.sh
-rwxr-xr-x. 1 nagios nagios 785 Jan 30 19:10 nom_create_nagioscore_errorpoint.sh
-rwxr-xr-x. 1 nagios nagios 968 Jan 30 19:10 nom_restore_nagioscore_checkpoint.sh
-rwxr-xr-x. 1 nagios nagios 947 Jan 30 19:10 nom_restore_nagioscore_checkpoint_specific.sh
-rwxr-xr-x 1 nagios nagios 4.6K Jan 30 19:10 nom_trim_checkpoints.sh
-rwxr-xr-x. 1 nagios nagios 2.9K Apr 29 2017 nom_trim_nagioscore_checkpoints.sh
-rwxr-xr-x 1 nagios nagios 7.6K Jan 30 19:10 nxti_import.php
-rwxr-xr-x 1 nagios nagios 1.4K Jan 30 19:10 nxti.php
-rwxr-xr-x. 1 nagios nagios 13K Jan 30 19:10 parse_core_eventlog.php
-rwxr-xr-x. 1 nagios nagios 6.6K Jan 30 19:10 patch_ndoutils.php
-rwxr-xr-x. 1 nagios nagios 971 Jan 30 19:10 reconfigure_nagios.sh
-rwxr-xr-x 1 nagios nagios 4.2K Jan 30 19:10 remove_historical_data.sh
-r-xr-x---. 1 root nagios 1.7K Jan 30 19:10 repair_databases.sh
-rwxr-xr-x. 1 nagios nagios 3.9K Jan 30 19:10 repairmysql.sh
-r-xr-x---. 1 root nagios 4.8K Jan 30 19:10 reset_config_perms.sh
-rwxr-xr-x. 1 nagios nagios 1.9K Jan 30 19:10 reset_nagiosadmin_password.php
-rwxr-xr-x. 1 nagios nagios 1.9K Jan 30 19:10 restart_nagios_with_export.sh
-rwxr-xr-x. 1 nagios nagios 4.0K Jan 30 19:10 restore_defaults.sh
-rwxr-xr-x. 1 nagios nagios 13K Jan 30 19:10 restore_xi.sh
-rwxr-xr-x. 1 nagios nagios 1.9K Jan 30 19:10 send_to_auditlog.php
-rwxr-xr-x. 1 nagios nagios 2.7K Apr 29 2017 uninstall_xi.sh
-rwxr-xr-x. 1 nagios nagios 1.4K Jan 30 19:10 unlock_user_account.php
-rwxr-xr-x. 1 nagios nagios 722 Jan 30 19:10 update_check.php
-r-xr-x---. 1 root nagios 2.9K Jan 30 19:10 upgrade_to_latest.sh
[root@server var]# grep nagios /etc/group
nagios

1000:apache,nagios,snmptt
nagcmd

50013:apache,nagios