I updated var/www/html/nagiosql/config/settings.php to use nagiosql as the new password and it worked Thankyou.
The cpu utilization on my server is still quite high, I do have the server configured as a DNX master with two DNX slaves. The TOP monitor seems to indicate that the master server is processing all the wmi_plus queries instead of offloading them to the slaves. Is there a way to ensure that I have DNX installed properly? Is there some additional configuration required for DNX that I might have missed.
Nagios xi performance
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Nagios xi performance
I'm actually not entirely sure how nagios would handle the DNX assignment with something like WMI, because the wmic binaries would need to be installed on the slave machine. However, if mysql is offloaded, what do you have taking up the top 8-10 slots for CPU time?
-
- Posts: 167
- Joined: Tue Aug 02, 2011 4:37 pm
Re: Nagios xi performance
its all primarily check_wmi_plus, each transaction appears to consume 1.2% CPU, I'm in the process of adding an additional CPU to my virtual machine. The slave machines are nagios xi boxes as well so they would have WMI as the base install of that, are you saying that WMI would need to be part of the DNX client then?
-
- Posts: 523
- Joined: Thu Oct 06, 2011 10:12 am
Re: Nagios xi performance
Paul,
I'm curios what version of wmi_plus and it's helper binary wmic your using.
could you post the following:
/usr/local/bin/wmic --version
/usr/local/nagios/libexec/check_wmi_plus.pl --version
I'm curios what version of wmi_plus and it's helper binary wmic your using.
could you post the following:
/usr/local/bin/wmic --version
/usr/local/nagios/libexec/check_wmi_plus.pl --version
-
- Posts: 167
- Joined: Tue Aug 02, 2011 4:37 pm
Re: Nagios xi performance
You do not have the required permissions to view the files attached to this post.
-
- Posts: 523
- Joined: Thu Oct 06, 2011 10:12 am
Re: Nagios xi performance
Once a DNX client is installed and configured, checks running on the server run on the client instead. The binary /usr/local/wmic would also need to be installed on the DNX client since the wmi check plugin depends on that local file. Make sure that binary is on the client DNX machine as well.
if not, install the client: http://assets.nagios.com/downloads/nagi ... For_xi.pdf
At any rate, the version numbers are the latest builds of each. I'm not sure why the checks would be using so much CPU usage. I'll need to do some additional testing to see if WMI consumes that much CPU usage per transaction.
if not, install the client: http://assets.nagios.com/downloads/nagi ... For_xi.pdf
At any rate, the version numbers are the latest builds of each. I'm not sure why the checks would be using so much CPU usage. I'll need to do some additional testing to see if WMI consumes that much CPU usage per transaction.
-
- Posts: 167
- Joined: Tue Aug 02, 2011 4:37 pm
Re: Nagios xi performance
I checked my two dnx slave nodes and did re-install the WMI component per your suggestion, it still doesn't appear that any of the WMI scripts are running on either of those slaves.
-
- Posts: 167
- Joined: Tue Aug 02, 2011 4:37 pm
Re: Nagios xi performance
I enabled debugging on both the DNX server and a client, it appears that DNX is not distributing any of my jobs(WMI and icmp checks) as I previously thought
[Wed Feb 1 14:24:01.892 2012] Allocating node request.
[Wed Feb 1 14:24:01.892 2012] dnxGetNodeRequest: Unable to fulfill node request: Resource was not found.
[Wed Feb 1 14:24:01.892 2012] Post failed: Resource was not found. Service check [1784] will execute locally: /usr/local/nagios/libexec/check_wmi_plus.pl -H 999.999.65.181 -u domain/user -p password -m checkdrivesize -a T: -w 80 -c 95.
[Wed Feb 1 14:24:03.208 2012] dnxJobListDispatch: BEFORE: Head=0, DHead=0, Tail=0.
I do have nagiosxi installed on the slave machines as well as the dnxclient, for whatever reason the dnxClient appears to start but when I check its status its always stopped
I did test running the the check_wmi_plus script from the slave machine and it does return a result so WMI is configured and working.
[Wed Feb 1 14:24:01.892 2012] Allocating node request.
[Wed Feb 1 14:24:01.892 2012] dnxGetNodeRequest: Unable to fulfill node request: Resource was not found.
[Wed Feb 1 14:24:01.892 2012] Post failed: Resource was not found. Service check [1784] will execute locally: /usr/local/nagios/libexec/check_wmi_plus.pl -H 999.999.65.181 -u domain/user -p password -m checkdrivesize -a T: -w 80 -c 95.
[Wed Feb 1 14:24:03.208 2012] dnxJobListDispatch: BEFORE: Head=0, DHead=0, Tail=0.
I do have nagiosxi installed on the slave machines as well as the dnxclient, for whatever reason the dnxClient appears to start but when I check its status its always stopped
I did test running the the check_wmi_plus script from the slave machine and it does return a result so WMI is configured and working.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Nagios xi performance
did you look in the log on the machine that it is always stopped on?
-
- Posts: 167
- Joined: Tue Aug 02, 2011 4:37 pm
Re: Nagios xi performance
yes, it showed it starting but nothing else after that, I turned on the debug file flag but no file was created. service --status-all shows that service is stopped, the service starts but appears to immediately stop.