Linux-Server" wizard is not getting installed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
singha5
Posts: 6
Joined: Wed Feb 22, 2012 10:10 am

Linux-Server" wizard is not getting installed

Post by singha5 »

Hi Forum,

"Linux-Server" wizard is not getting installed - Please check details below:-

Nagios XI server details :-

[root@server nagiosxi]# uname -a
Linux naggy 2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@server nagiosxi]#



I have installed the NRPE agent on the client machine (please check the notepad attached) successfully.

Client machine:-

[root@server1 linux-nrpe-agent]# uname -a
Linux server1 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@server1 linux-nrpe-agent]#




But "Linux-Server" wizard is not getting installed. I have downoaded the "Linux-server" wizard from the below link
http://exchange.nagios.org/directory/Ad ... rd/details

and followed the steps mentioned in "Installing_XI_Configuration_Wizards.pdf", when i click the upload button - the screen shows me Wizard Installed, but i am not able to see anything under the list - please check the print-screen in the word document attached.

I even tried to installed "Esenors-websensor" wizard and same thing is happening with this wizard as well.


May i request you to please help me in this configuration as I have to show them the DEMO on this Friday (24/02/2012).

Awaiting prompt reply.

Best regards,
singha5
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Linux-Server" wizard is not getting installed

Post by scottwilkerson »

This sounds like a permissions problem.

Please run the procedure from the following file and let me know if the problem persists
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

If you still cannot upload a wizard, please send back the output of the following

Code: Select all

ls -ld /usr/local/nagiosxi/html/includes/configwizards
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Linux-Server" wizard is not getting installed

Post by lmiltchev »

Try going to:

Admin->Monitoring Config->Check File Permissions
and
Admin->System Config->Reset Security Credentials->Update Credentials

Then try to reinstall the wizard. If it is still not working, try resetting your global permissions, following the steps outlined in this document:

http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
singha5
Posts: 6
Joined: Wed Feb 22, 2012 10:10 am

Re: Linux-Server" wizard is not getting installed

Post by singha5 »

Hi Tech Support,

Thanks again for prompt reply.

Mentioned steps worked like a charm,"Linux wizard" installed now.

But still got some problems :-( , while configuring Linux Wizard i kept all the default values , but it is showing connection refused by the host. Please guide me where i am going wrong, please check the print screen attached.

client df -h , as below:-

[root@Server1 proc]#
[root@Server1 proc]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg01-lv00
9.7G 397M 8.8G 5% /
/dev/mapper/vg01-lv02
9.7G 901M 8.4G 10% /usr
/dev/mapper/vg01-lv05
20G 173M 19G 1% /spare
/dev/mapper/vg01-lv03
9.7G 285M 9.0G 4% /var
/dev/mapper/vg01-lv04
9.7G 176M 9.1G 2% /tmp
/dev/sda1 494M 18M 452M 4% /boot
tmpfs 3.9G 0 3.9G 0% /dev/shm
crunch-692:/vol/crun_ref_sysadmin/sudo
181G 162G 19G 90% /sudo
[root@Server1 proc]#
[root@Server1 proc]#
[root@Server1 proc]# top
top - 17:56:23 up 216 days, 6:05, 1 user, load average: 0.07, 0.03, 0.01
Tasks: 347 total, 1 running, 346 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8164276k total, 1040868k used, 7123408k free, 438628k buffers
Swap: 7340024k total, 0k used, 7340024k free, 468028k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAN


requesting prompt reply

Many thanks for your great support.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Linux-Server" wizard is not getting installed

Post by scottwilkerson »

Actually, the nrpe installation log doesn't look like everything went ok...

toward the bottom you have several items showing that it couldn't read the file /etc/xinetd.d/nrpe

Do you have one? If not, this will be the problem

We need one, and we need it to look like this

Code: Select all

# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
        flags           = REUSE
        socket_type     = stream
        port            = 5666
        wait            = no
        user            = nagios
        group           = nagios
        server          = /usr/local/nagios/bin/nrpe
        server_args     = -c /usr/local/nagios/etc/nrpe.cfg --inetd
        log_on_failure  += USERID
        disable         = no
        only_from       = 127.0.0.1 82.132.153.131
}
Then restart xinetd

Code: Select all

service xinetd restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
singha5
Posts: 6
Joined: Wed Feb 22, 2012 10:10 am

Re: Linux-Server" wizard is not getting installed

Post by singha5 »

Hi Tech team,

I have made the changes in the client , but still Nagios XI GUI is showing "connection refused by host" - same printscreen which i posted yesterday.
Please guide further.

[root@comedian xinetd.d]#
[root@comedian xinetd.d]# cat nrpe
# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags = REUSE
socket_type = stream
port = 5666
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = 127.0.0.1 82.132.153.131
}

[root@comedian xinetd.d]#
[root@comedian xinetd.d]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@comedian xinetd.d]#
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Linux-Server" wizard is not getting installed

Post by scottwilkerson »

Can you run the following on the nrpe client machine

Code: Select all

tail -f /var/log/messages
We want to see if there are NRPE errors showing up there.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
singha5
Posts: 6
Joined: Wed Feb 22, 2012 10:10 am

Re: Linux-Server" wizard is not getting installed

Post by singha5 »

Hi Tech team,


can you please also guide me for the Solaris Nrpe Agent link & which Wizard i have to install for Solaris? - I am not able to find the proper link for them.


Best regards,
singha5
Posts: 6
Joined: Wed Feb 22, 2012 10:10 am

Re: Linux-Server" wizard is not getting installed

Post by singha5 »

[root@comedian tmp]#
[root@comedian tmp]# tail -f /var/log/messages
Feb 23 14:59:20 comedian xinetd[27302]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compi led in.
Feb 23 14:59:20 comedian xinetd[27302]: Started working: 0 available services
Feb 23 15:27:52 comedian xinetd[27302]: Exiting...
Feb 23 15:27:52 comedian xinetd[27465]: Unknown user: ident [file=/etc/xinetd.d/auth] [line=14]
Feb 23 15:27:52 comedian xinetd[27465]: Error parsing attribute user - DISABLING SERVICE [file=/etc/xinetd.d/auth] [line=14 ]
Feb 23 15:27:52 comedian xinetd[27465]: Server /usr/local/nagios/bin/nrpe is not executable [file=/etc/xinetd.d/nrpe] [line =11]
Feb 23 15:27:52 comedian xinetd[27465]: Error parsing attribute server - DISABLING SERVICE [file=/etc/xinetd.d/nrpe] [line= 11]
Feb 23 15:27:52 comedian xinetd[27465]: Must specify a server in nrpe
Feb 23 15:27:52 comedian xinetd[27465]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compi led in.
Feb 23 15:27:52 comedian xinetd[27465]: Started working: 0 available services
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Linux-Server" wizard is not getting installed

Post by scottwilkerson »

Looking back at your nrpe-agent installation-- log.txt it looks like much of the install failed...

Is the a RHEL machine? Is it registered with RHN?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked