chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/
chcon -R -t httpd_sys_content_t /usr/local/nagios/share/
Nagios Map
Re: Nagios Map
Are you talking about running these two commands on Ubuntu?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios Map
Hi lmiltchev - Yes
I ran those commands and get:
Cant apply partial context to unlabeled file 'summary.cgi'
cmd.cgi, statuswrl.cgi etc etc etc - Same with the other command
I ran those commands and get:
Cant apply partial context to unlabeled file 'summary.cgi'
cmd.cgi, statuswrl.cgi etc etc etc - Same with the other command
Re: Nagios Map
Is SELinux even enabled on your box?
If you disabled SELinux, all labels are removed. That's why you are getting the following message:
You can enable selinux and reboot. After that, you should be able to set the labels again. If I were you, I would leave it as is, and not enable SELinux... But that's just me - I don't like SELinux. 
Code: Select all
sestatusCode: Select all
chcon: can't apply partial context to unlabeled fileBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios Map
Thanks lmiltchev
As you can tell my Linux skills are limited. I can get by and have done a good job of getting nagios up and running and its worked well for a few years. Just the maps have broken since upgrading. I don't really want to mess around unless you guys think its necessary to fix the issue
As you can tell my Linux skills are limited. I can get by and have done a good job of getting nagios up and running and its worked well for a few years. Just the maps have broken since upgrading. I don't really want to mess around unless you guys think its necessary to fix the issue
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios Map
could you run the getenforce line please so we know what the current state of selinux. (I might have missed it above if you already posted it)
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Nagios Map
If I run getenforce straight in to Linux I get "Disabled"
Re: Nagios Map
This bug should be fixed in 4.0.2:
http://tracker.nagios.org/view.php?id=470
http://tracker.nagios.org/view.php?id=470
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Nagios Map
abrist - Did you read my opening post?
Re: Nagios Map
Would someone check in their Nagios what version of Nagios is displayed in the top left corner when in the maps view. I get:
Network Map For All Hosts
Last Updated: Tue Dec 17 08:32:31 GMT 2013
Updated every 90 seconds
Nagios® Core™ 4.0.0 - www.nagios.org
Logged in as nagiosadmin
Thanks
Network Map For All Hosts
Last Updated: Tue Dec 17 08:32:31 GMT 2013
Updated every 90 seconds
Nagios® Core™ 4.0.0 - www.nagios.org
Logged in as nagiosadmin
Thanks
-
flavio.lodoli
- Posts: 1
- Joined: Tue Dec 17, 2013 5:37 am
Re: Nagios Map
I installed Nagios 3.5.x then 4.0.1 and I get the problem but patching the source code and re-making all worked.
Then I upgrade to 4.0.2 following ivanAK list without stopping nagios and all worked perfectly without any patch.
In the corner I get Nagios 4.0.2:
Network Map For All Hosts
Last Updated: Tue Dec 17 11:52:13 CET 2013
Updated every 90 seconds
Nagios® Core™ 4.0.2 - http://www.nagios.org
I'm on CentOs.
Then I upgrade to 4.0.2 following ivanAK list without stopping nagios and all worked perfectly without any patch.
In the corner I get Nagios 4.0.2:
Network Map For All Hosts
Last Updated: Tue Dec 17 11:52:13 CET 2013
Updated every 90 seconds
Nagios® Core™ 4.0.2 - http://www.nagios.org
I'm on CentOs.