Hello,
I have some questions on Nagios XI and wonder if someone can help me.
I am using Nagios core right now and thinking of moving to Nagios XI.
What I am trying to do is migrating all the conf files in Nagios core to Nagios XI.
I followed the instructions in the document and imported commands.cfg, templates.cfg, and test host(windows desktop) configuration file as well.
I put several service checks for this test host, which are disk, service, and memory.
I’ve set ‘check_nrpe’ for the Check command, and ‘alias_disk’,’alias_service’, and ‘alias_mem’ for its command argument.
When I apply this configuration, it says ‘status’ is ok, with green light
but all of the ‘status information’ says “I (0.3.9.328 2011-08-16) seem to be doing fine...“.
Is that normal that different services produce the same status information?
I thought that it’s bit strange because it usually gives me specific message like “DISK OK”. “CPU ok”..etc.
My another question is that whether it is worth importing old conf to the new system.
We have few hundreds of hosts, and I am not really sure which one (between importing old conf files to Nagios XI and creating new conf files using wizard) would need less time and effort.
If I still need lot of manual work after importing old files, I might just want to create new conf files using wizard..
Can you give some advice?
Thanks!
Reina
Nagios XI Questions:importing conf files from Nagios core
Re: Nagios XI Questions:importing conf files from Nagios cor
Can we see a screenshot of the Core Configuration Manage page showing this?reinal wrote:I’ve set ‘check_nrpe’ for the Check command, and ‘alias_disk’,’alias_service’, and ‘alias_mem’ for its command argument.
That's usually a sign just the command ./check_nrpe -H 1.1.1.1(whatever your IP IS) was run, instead of having NRPE run a command.reinal wrote:but all of the ‘status information’ says “I (0.3.9.328 2011-08-16) seem to be doing fine...“.
The wizards make it easy. Sometimes the import can be messy, but if you post the screenshot I asked for earlier it may help diagnose the issue. With that being said, I usually am a fan of 'fresh starts'.reinal wrote:Can you give some advice?
Former Nagios Employee.
me.
me.
Re: Nagios XI Questions:importing conf files from Nagios cor
Thank you for the reply. I attached screenshot
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI Questions:importing conf files from Nagios cor
You imported command has square brackets which is causing your issue.
In addition to this, it has overwritten the default one defined by Nagios XI.
Go into CCM
Commands
Search for check_nrpe
Change the command definition to:
Save and apply configuration.
Specifying the -p 5666 in the command is not necessary as that's the default port that is used.
In addition to this, it has overwritten the default one defined by Nagios XI.
Go into CCM
Commands
Search for check_nrpe
Change the command definition to:
Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$Specifying the -p 5666 in the command is not necessary as that's the default port that is used.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI Questions:importing conf files from Nagios cor
Hello, thanks for the reply.
I've changed the command and applied configuration
but now I have this error..
COMMAND: /usr/local/nagios/libexec/check_nrpe -H 10.1.129.147 -t 30 -c alias_disk
OUTPUT: UNKNOWN: No handler for that command
I've changed the command and applied configuration
but now I have this error..
COMMAND: /usr/local/nagios/libexec/check_nrpe -H 10.1.129.147 -t 30 -c alias_disk
OUTPUT: UNKNOWN: No handler for that command
Re: Nagios XI Questions:importing conf files from Nagios cor
Can we see the NRPE configuration for the host you're trying to run it against?
Former Nagios Employee.
me.
me.
Re: Nagios XI Questions:importing conf files from Nagios cor
I edited nsclient.ini file and it worked.
Thanks for your help!
Thanks for your help!