Nagiosxi Client Installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagiosxi Client Installation

Post 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
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post 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.
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post 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?
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post 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?
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post 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 *
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagiosxi Client Installation

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagiosxi Client Installation

Post 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?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagiosxi Client Installation

Post 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!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Re: Nagiosxi Client Installation

Post 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.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagiosxi Client Installation

Post 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.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked