Can't configure Mntos in suse

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ameermane
Posts: 8
Joined: Sat Dec 20, 2014 10:45 pm

Can't configure Mntos in suse

Post by ameermane »

HI All,

I am newbie.. I don't know whether this is right place or not. Please forgive me.

I have installed Nagios on SLES 11 SP3. I tried to install mntos on same machine.
But while installing i am getting two errors.

1. iptables -I RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
iptables: No chain/target/match by that name.

2. chown -R nagios:www-data
chown: invalid group: `nagios:www-data'


About 1st error I read on this forum and I commented it out.

Please help..

Thanks in advance... :roll: :roll: :roll:
bdgoecke
Posts: 36
Joined: Wed Oct 22, 2014 3:41 pm

Re: Can't configure Mntos in suse

Post by bdgoecke »

On SUSE linux the group that apache uses is named www

So try

Code: Select all

chown -R nagio:www 
==>brian.
ameermane
Posts: 8
Joined: Sat Dec 20, 2014 10:45 pm

Re: Can't configure Mntos in suse

Post by ameermane »

Hi,

Thanks for your reply... it works ..
But now the problem is when I access http://Machine_ip/mntos it shows nothing.
here is the output of curl http://Machine_ip/mntos

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://Machine_ip/mntos/">here</a>.</p>
<hr>
<address>Apache/2.2.12 (Linux/SUSE) Server at Machine_ip Port 80</address>
</body></html>
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can't configure Mntos in suse

Post by scottwilkerson »

It looks lie they want you to put a trailing slash on the url

http://Machine_ip/mntos/
instead of
http://Machine_ip/mntos

That said, Nagios Enterprises doesn't produce MNTOS
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ameermane
Posts: 8
Joined: Sat Dec 20, 2014 10:45 pm

Re: Can't configure Mntos in suse

Post by ameermane »

Thanks a lot...
You all are too good. Now I am able to access mntos.
It is accessible through url http://Machine_ip/mntos/
Thanks once again.
Locked