Installating XI Linux Agent fail

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ynguyen
Posts: 31
Joined: Mon Jun 04, 2012 9:59 am

Installating XI Linux Agent fail

Post by ynguyen »

I am evaluate the NagiosXI product to see whether it will be a good fix for us before purchasing a license for it.
While installing the agent for Linux redhat 6.1 64bits. I am running into the following error with firewall script.
Wondering if you or any could provide some idea on how to fix the problem? Just download the agent today.

iptables v1.4.7: Invalid rule number `0'
Try `iptables -h' or 'iptables --help' for more information.



******************************** Part of the install.log ************
Users and groups added OK
/etc/services updated
iptables v1.4.7: Invalid rule number `0'
Try `iptables -h' or 'iptables --help' for more information.
Nagios Linux Agent Installation Log
===================================
DATE: Mon Jun 4 09:25:23 EDT 2012

DISTRO INFO:
RedHatEnterpriseServer
6.1
x86_64

Yum already configured - exiting.
Prereqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run 'yum update'
Users/groups already configured - skipping.
/etc/services already updated - skipping.
iptables v1.4.7: Invalid rule number `0'
Try `iptables -h' or 'iptables --help' for more information.

******************** end of Install.log ****************************
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installating XI Linux Agent fail

Post by scottwilkerson »

Is iptables (your firewall) running? If not, enable it and then try running the installer again:

Code: Select all

service iptables start
If you run your system without a firewall, you can just run the following command in the installation directory to skip this step:

Code: Select all

touch installed.firewall
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ynguyen
Posts: 31
Joined: Mon Jun 04, 2012 9:59 am

Re: Installating XI Linux Agent fail

Post by ynguyen »

I am still having the same problem after verify and ran the following commands.
chkconfig --list
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off


I also tried the following process.

First Trial:
setenforce 1
service iptables stop
service iptables start
./fullinstall

Result failed


Second Trial:

setenforce 0
service iptables stop
service iptables start
./fullinstall

Result failed



===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './4-firewall'


Thank you.
y
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installating XI Linux Agent fail

Post by scottwilkerson »

Can you run

Code: Select all

iptables -L
And report the output
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ynguyen
Posts: 31
Joined: Mon Jun 04, 2012 9:59 am

Re: Installating XI Linux Agent fail

Post by ynguyen »

Here it is. It doesn't seem we have any things on the iptables.

[root@app1 working]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installating XI Linux Agent fail

Post by scottwilkerson »

Then change directory to your install directory and run

Code: Select all

touch installed.firewall
./fullinstall
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ynguyen
Posts: 31
Joined: Mon Jun 04, 2012 9:59 am

Re: Installating XI Linux Agent fail

Post by ynguyen »

Yes, it work if we by pass the firewall modification.
Thank you for that.


I am current testing out a basic web monitor and alter.
I went through the Monitor Wizard and select the Website Wizard.
I entered an internal website address app1.galco.com and accept everything else as default and
received the following errors. Where is the error log to find out what it actually fail?

Website Monitoring Wizard
Configuration submitted for processing...
Waiting for configuration verification.....
Configuration verification failed.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installating XI Linux Agent fail

Post by lmiltchev »

You can follow the steps outlined on our wiki page:

http://support.nagios.com/wiki/index.ph ... n_Problems
Be sure to check out our Knowledgebase for helpful articles and solutions!
ynguyen
Posts: 31
Joined: Mon Jun 04, 2012 9:59 am

Re: Installating XI Linux Agent fail

Post by ynguyen »

I am running into problem to get NagiosXI to monitor\alert Linux customize services (third party application).

In order to evaluate this product I do not have a whole day of free time and everyday to figure out whether some of the basic functionalities of this product would work for what I am looking for. My evaluation period is almost over and I still have not able to understand whether this product is a good fit for us or not. The product and technology is seems to be great but your sale and postsale process is lacking the desire. It will be benifit to your product and technology to spend more resource and up front cost on this area.

What good to have a great and awesome product if no one know about it (need more marketing) and no one using it (too difficult to get it working). I have been on this boat before. Offcource, it is a well known product..However, It could gain better market share...with a few sale improvement process .

In any case, I like what I see from the product descriptions. It seems to do all the things that I want on a minitor and alter system.
So, I would like to complete the evaluation of this product without look into other product.

I have done some basic set up through the Wizard for mornitoring and alert http, https etc..traffic. Those are working fine.
My main evaluation for this product is the ability to monitor and alert unix\linux services from a remote NagiosXI server.


Would it possible to have a post sale engineer or tech support to assist with the initial setup to complete this evaluation.
I am having problem to test out the monitor and alert for Linux services. The customize services (not the standard services such as http, https, ssh....)

Let me know if you can assist or forward this email to the right people.

Thank you.

Yoom
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installating XI Linux Agent fail

Post by lmiltchev »

If you are monitoring a linux machine via NRPE but you don't know how to monitor some custom checks that are run on the client, we can help you with that. Just let us know what are the checks that you need to monitor and we will go from there. What have you tried so far? What exactly are you having difficulties with?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked