Hi
I have installed nagiosxi in RHEL 5 with the licensed version. Post installation when i tried to add host
waiting for configuration verification..
Reset config permissions failed
herewith enclosed the screenshot for reference.
Regards
Raj
Reset permission failed - Adding host
-
gm_rajkumar
- Posts: 187
- Joined: Tue Feb 28, 2012 7:08 am
- Location: CA, USA
Reset permission failed - Adding host
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Reset permission failed - Adding host
Please send the output of the following
Code: Select all
ls -l /usr/local/nagiosxi/scripts-
gm_rajkumar
- Posts: 187
- Joined: Tue Feb 28, 2012 7:08 am
- Location: CA, USA
Re: Reset permission failed - Adding host
[root@monitoring ~]# ls -l /usr/local/nagiosxi/scripts/
total 588
-rwxr-x--- 1 nagios nagios 2757 May 15 11:24 backup_xi.sh
-rwxr-x--- 1 nagios nagios 649 May 15 11:24 export_nagiosql.sh
-rwxr-x--- 1 nagios nagios 821 May 15 11:24 handle_nagioscore_event.php
-rwxr-x--- 1 nagios nagios 829 May 15 11:24 handle_nagioscore_notification.php
-rwxr-x--- 1 nagios nagios 429 May 15 11:24 import_nagiosql.sh
-rwxr-x--- 1 nagios nagios 149 May 15 11:24 kill_rrdtool.sh
-rw-r----- 1 nagios nagios 153 May 15 19:29 nagiosql.cookies
-rw-r----- 1 nagios nagios 253324 May 15 11:24 nagiosql_defaults.sql
-rwxr-x--- 1 nagios nagios 970 May 15 11:24 nagiosql_delete_contact.php
-rwxr-x--- 1 nagios nagios 961 May 15 11:24 nagiosql_delete_host.php
-rwxr-x--- 1 nagios nagios 505 May 15 11:24 nagiosql_delete_object.sh
-rwxr-x--- 1 nagios nagios 970 May 15 11:24 nagiosql_delete_service.php
-rwxr-x--- 1 nagios nagios 993 May 15 11:24 nagiosql_delete_timeperiod.php
-rw-r----- 1 nagios nagios 8126 May 14 15:47 nagiosql.export.additional
-rwxr-x--- 1 nagios nagios 1637 May 15 11:24 nagiosql_exportall.php
-rw-r----- 1 nagios nagios 7422 May 14 15:47 nagiosql.export.monitoring
-rwxr-x--- 1 nagios nagios 1323 May 15 11:24 nagiosql_importall.php
-rw-r----- 1 nagios nagios 11773 May 15 19:03 nagiosql.import.monitoring
-rw-r----- 1 nagios nagios 5286 May 15 19:29 nagiosql.login
-rwxr-x--- 1 nagios nagios 1847 May 15 11:24 nagiosql_login.php
-rwxr-x--- 1 nagios nagios 258 May 15 11:24 nagiosql_trim_backups.sh
-rwxr-x--- 1 nagios nagios 515 May 15 11:24 nom_create_nagioscore_checkpoint_cond.sh
-rwxr-x--- 1 nagios nagios 717 May 15 11:24 nom_create_nagioscore_checkpoint.sh
-rwxr-x--- 1 nagios nagios 632 May 15 11:24 nom_create_nagioscore_errorpoint.sh
-rwxr-x--- 1 nagios nagios 784 May 15 11:24 nom_restore_nagioscore_checkpoint.sh
-rw-r----- 1 nagios nagios 757 May 15 11:24 nom_restore_nagioscore_checkpoint_specific.sh
-rwxr-x--- 1 nagios nagios 2104 May 15 11:24 nom_trim_nagioscore_checkpoints.sh
-rwxr-x--- 1 nagios nagios 4271 May 15 11:24 parse_core_eventlog.php
-rwxr-x--- 1 nagios nagios 3795 May 15 11:24 patch_ndoutils.php
-rwxr-x--- 1 nagios nagios 597 May 15 11:24 reconfigure_nagios.sh
-rwxr-x--- 1 nagios nagios 1037 May 15 11:24 repairmysql.sh
-rwsr-x--- 1 root root 5258 May 15 11:24 reset_config_perms
-rw-r----- 1 nagios nagios 280 May 15 11:24 reset_config_perms.c
-rwsr-x--- 1 root root 690 May 15 11:24 reset_config_perms.sh
-rwxr-x--- 1 nagios nagios 1155 May 15 11:24 reset_nagiosadmin_password.php
-rwxr-x--- 1 nagios nagios 944 May 15 11:24 restart_nagios_with_export.sh
-rwxr-x--- 1 nagios nagios 765 May 15 11:24 restore_defaults.sh
-rwxr-x--- 1 nagios nagios 4010 May 15 11:24 restore_xi.sh
-rw-r----- 1 nagios nagios 3039 May 15 11:24 uninstall_xi.sh
total 588
-rwxr-x--- 1 nagios nagios 2757 May 15 11:24 backup_xi.sh
-rwxr-x--- 1 nagios nagios 649 May 15 11:24 export_nagiosql.sh
-rwxr-x--- 1 nagios nagios 821 May 15 11:24 handle_nagioscore_event.php
-rwxr-x--- 1 nagios nagios 829 May 15 11:24 handle_nagioscore_notification.php
-rwxr-x--- 1 nagios nagios 429 May 15 11:24 import_nagiosql.sh
-rwxr-x--- 1 nagios nagios 149 May 15 11:24 kill_rrdtool.sh
-rw-r----- 1 nagios nagios 153 May 15 19:29 nagiosql.cookies
-rw-r----- 1 nagios nagios 253324 May 15 11:24 nagiosql_defaults.sql
-rwxr-x--- 1 nagios nagios 970 May 15 11:24 nagiosql_delete_contact.php
-rwxr-x--- 1 nagios nagios 961 May 15 11:24 nagiosql_delete_host.php
-rwxr-x--- 1 nagios nagios 505 May 15 11:24 nagiosql_delete_object.sh
-rwxr-x--- 1 nagios nagios 970 May 15 11:24 nagiosql_delete_service.php
-rwxr-x--- 1 nagios nagios 993 May 15 11:24 nagiosql_delete_timeperiod.php
-rw-r----- 1 nagios nagios 8126 May 14 15:47 nagiosql.export.additional
-rwxr-x--- 1 nagios nagios 1637 May 15 11:24 nagiosql_exportall.php
-rw-r----- 1 nagios nagios 7422 May 14 15:47 nagiosql.export.monitoring
-rwxr-x--- 1 nagios nagios 1323 May 15 11:24 nagiosql_importall.php
-rw-r----- 1 nagios nagios 11773 May 15 19:03 nagiosql.import.monitoring
-rw-r----- 1 nagios nagios 5286 May 15 19:29 nagiosql.login
-rwxr-x--- 1 nagios nagios 1847 May 15 11:24 nagiosql_login.php
-rwxr-x--- 1 nagios nagios 258 May 15 11:24 nagiosql_trim_backups.sh
-rwxr-x--- 1 nagios nagios 515 May 15 11:24 nom_create_nagioscore_checkpoint_cond.sh
-rwxr-x--- 1 nagios nagios 717 May 15 11:24 nom_create_nagioscore_checkpoint.sh
-rwxr-x--- 1 nagios nagios 632 May 15 11:24 nom_create_nagioscore_errorpoint.sh
-rwxr-x--- 1 nagios nagios 784 May 15 11:24 nom_restore_nagioscore_checkpoint.sh
-rw-r----- 1 nagios nagios 757 May 15 11:24 nom_restore_nagioscore_checkpoint_specific.sh
-rwxr-x--- 1 nagios nagios 2104 May 15 11:24 nom_trim_nagioscore_checkpoints.sh
-rwxr-x--- 1 nagios nagios 4271 May 15 11:24 parse_core_eventlog.php
-rwxr-x--- 1 nagios nagios 3795 May 15 11:24 patch_ndoutils.php
-rwxr-x--- 1 nagios nagios 597 May 15 11:24 reconfigure_nagios.sh
-rwxr-x--- 1 nagios nagios 1037 May 15 11:24 repairmysql.sh
-rwsr-x--- 1 root root 5258 May 15 11:24 reset_config_perms
-rw-r----- 1 nagios nagios 280 May 15 11:24 reset_config_perms.c
-rwsr-x--- 1 root root 690 May 15 11:24 reset_config_perms.sh
-rwxr-x--- 1 nagios nagios 1155 May 15 11:24 reset_nagiosadmin_password.php
-rwxr-x--- 1 nagios nagios 944 May 15 11:24 restart_nagios_with_export.sh
-rwxr-x--- 1 nagios nagios 765 May 15 11:24 restore_defaults.sh
-rwxr-x--- 1 nagios nagios 4010 May 15 11:24 restore_xi.sh
-rw-r----- 1 nagios nagios 3039 May 15 11:24 uninstall_xi.sh
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Reset permission failed - Adding host
Please run the fixing global permission procedure and try applying configuration again
http://library.nagios.com/library/produ ... -nagios-xi
http://library.nagios.com/library/produ ... -nagios-xi
-
gm_rajkumar
- Posts: 187
- Joined: Tue Feb 28, 2012 7:08 am
- Location: CA, USA
Re: Reset permission failed - Adding host
Its working fine, Kudos to you:) Great work and rapid response:)
Regards,
Raj.
Regards,
Raj.