Page 3 of 7

Re: Nagiosxi Client Installation

Posted: Thu Apr 30, 2015 1:46 pm
by jolson
Does your nagios user have a shell?
cat /etc/passwd

The nagios user should have a /bin/bash shell, not an /sbin/nologin shell.

Also, would you mind posting your sudoers file?

Code: Select all

cat /etc/sudoers

Re: Nagiosxi Client Installation

Posted: Fri May 01, 2015 8:09 am
by lmichel
Are you still there to provide support.
I am still having the same issue and I don't know what else to do to resolve this issue.

Re: Nagiosxi Client Installation

Posted: Fri May 01, 2015 8:15 am
by lmichel
can anyone help?
I still cannot do anything. I can only add stuff and I can't even delete anything.
I have host that I was trying to add to a configuration wizard that is in an inactive state.
I was trying to delete it but I couldn't.

can anyone help?

Am i having this issue because I am using the trial version or what?

Re: Nagiosxi Client Installation

Posted: Fri May 01, 2015 8:16 am
by lmichel
can anyone help?
I still cannot do anything. I can only add stuff and I can't even delete anything.
I have host that I was trying to add to a configuration wizard that is in an inactive state.
I was trying to delete it but I couldn't.

can anyone help?

Am i having this issue because I am using the trial version or what?

Re: Nagiosxi Client Installation

Posted: Fri May 01, 2015 8:18 am
by lmichel
Yes the nagios user does have a shell.

here is the output for the nagios users withing /etc/sudoers:
[root@uls-nagios-01 log]# grep -i nagios /etc/sudoers
User_Alias NAGIOSXI=nagios
User_Alias NAGIOSXIWEB=apache
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/nmap *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/nmap *
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *

Re: Nagiosxi Client Installation

Posted: Fri May 01, 2015 9:10 am
by Box293
This is an unusual problem you are having, it is not the normal expected behavior of Nagios XI. The trail gives the full functionality of the product, these issues are not related to running the trial.

We'll have a chat with the other techs and see what else your problem could be.

Re: Nagiosxi Client Installation

Posted: Fri May 01, 2015 9:13 am
by jolson
Am i having this issue because I am using the trial version or what?
No, the free trial does not have any limitation regarding functionality - your problem is unusual as Box293 has stated. We'll discuss this internally.

In the meantime, another troubleshooting procedure we can have you perform is tailing your command subsystem while you Apply Configuration.
Run the following.

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log
After the tail has started, please run through the monitoring wizard as usual. When the problem occurs, what does the sybsystem say?

Re: Nagiosxi Client Installation

Posted: Fri May 01, 2015 9:38 am
by jolson
lmichel,

If there are no clues that come up from the Command Subsystem, we think it's a good idea to set up a quickstart session with us: http://www2.nagios.com/quickstart-request

Our quickstart is a free one hour session where we will walk you through setup and troubleshooting of any XI issues you might be facing. I look forward to hearing from you - thanks!

Re: Nagiosxi Client Installation

Posted: Fri May 01, 2015 9:55 am
by lmichel
I reran the installation and everything seems to work now.
I was able to install the agent on a machine running RHEL.

now the question is as follow:
the majority of our servers are running Solaris 11 X86. Do you have an agent for those?
I tried the one built in into the software and it does not seem to be compatible.

Re: Nagiosxi Client Installation

Posted: Fri May 01, 2015 10:02 am
by jolson
Our NRPE agent is capable of being installed on Solaris, and there are some pretty handy guides online. Please see the following:
https://www.rubysecurity.org/nagios_nrpe-solaris
http://www.oracle.com/technetwork/artic ... 79071.html

Let us know if you need any help with the above.