Page 1 of 1

2014 First Impressions

Posted: Wed May 14, 2014 8:24 am
by WillemDH
Hello,

Just installed 2014R1.0 on my Nagios XI QA server. The interface and the new graphs look very nice.

I'd like to point out some remarks though.

The new Nagios XI footer for example is way to large. As you all probably know, it is already very hard to get enough information on one page. The large footer just takes too much place and gives no relevant information. It's height should be maximum one third of what it is now in my humble opinion.

I tried using the new domain expiration wizard and received some strange results: When I check "gent.be", the results was: CRITICAL - Domain gent.be expired on Thu, 01 Jan 1970 01:00:00 +0100

Now I'm 100 % sure our domain has not expired.... (would have heard it by now ;) )

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_domain.sh -d gent.be -w 30 -c 60
OUTPUT: CRITICAL - Domain gent.be expired on Thu, 01 Jan 1970 01:00:00 +0100
About the website defacement wizard. I tried that one to on http://www.gent.be, when tested from commandline, I get

Code: Select all

/usr/local/nagios/libexec/check_http -H www.gent.be -r 'removed list of keaywords as it gave submitted form as invalid error' -u '/' --invert-regex
HTTP OK: HTTP/1.1 200 OK - 25235 bytes in 0.009 second response time |time=0.009072s;;;0.000000 size=25235B;;;0
But in the XI gui, I get "HTTP CRITICAL: HTTP/1.1 200 OK - pattern found - 25235 bytes in 0.008 second response time"
So why do I get different results in commandline and Nagios XI? And it would be very handy if the pattern that is found would be in the error description, as I have no idea which word would have been found and http://www.gent.be is a large website, which might have one of those keywords by design..

Also I did not found "Updated Bulk Host Cloning Wizard to have ability to specify parents and hostgroups ". When I tried to clone a website, I did not had the option of specifying hostgroups or parents.

About the backup scheduler => it seems to me that the time configured to run is not equal to the time it will run. I set 13:45 and I get Enabled - Next Run: Thu, May 15th at 3:45 PM +02:00 CEST. This is kind of confusing, it should just use the local time imo. Also does it use the /usr/local/nagiosxi/scripts/backup_xi.sh script or does it uses another script. As I edit this script to rsync the backup to a mounted remote location. Which script should I edit now?

I tried the rdp/ssh component. When I try connecting to a Linux server, nothing happens. When I try to connect to a Windows server, it's trying to open a .rdp file. Maybe it should be possible to only allow rdp to Windows servers, maybe through a defined hostgroup and only allow ssh to Linux servers (also through a defined hostgroup). What's required to make the ssh to Linux servers work? About the rdp extensions, when looking fro mstsc.exe (%SystemRoot%\system32\mstsc.exe), the option to automatically choose mstsc.exe to open rdp fuiles is greyed out, which, following http://kb.mozillazine.org/File_types_an ... ad_actions should be cause by incorrect MIME type on a misconfigured webserver.

Code: Select all

Unable to set an automatic action

In some cases, you may not be able to set an automatic download action. This can occur when a misconfigured web server assigns an incorrect MIME type, such as "application/octet-stream", shown here in SeaMonkey 1.x or if the server assigns "Content-Disposition: attachment" to the file download, as shown here in SeaMonkey 1.x ( the MIME type of a downloaded file, and whether it should be handled as an attachment, does not appear in Firefox or in SeaMonkey 2). [4] [5] When this happens, the option to always perform the same action will either be "grayed-out" or, in Firefox, selecting the "Do this automatically" option will not seem to have an effect and you will again be asked what to do when you next encounter that file type (see below for related bug reports). There is little you can do in these cases because the problem is at the server end. 
Any ideas how to solve this?

By the way, I'm not going to start listing all the things I do like, as there are too much of them....

Greetings.

Willem

Re: 2014 First Impressions

Posted: Wed May 14, 2014 5:00 pm
by sreinhardt
The new Nagios XI footer for example is way to large. As you all probably know, it is already very hard to get enough information on one page. The large footer just takes too much place and gives no relevant information. It's height should be maximum one third of what it is now in my humble opinion.
Can't say I disagree, we shall give the devs a talking to. :D
I tried using the new domain expiration wizard and received some strange results: When I check "gent.be", the results was: CRITICAL - Domain gent.be expired on Thu, 01 Jan 1970 01:00:00 +0100
This is an issue that we discovered today with the plugin matching only certain TLDs whois records, as the plugin has very specific support. I have already spoken with a dev about it, and he is working on resolving it.
About the website defacement wizard. I tried that one to on http://www.gent.be, when tested from command line, I get
Boy I cannot imagine why you would get differing results just from using the command line vs nagios execution. I suppose some testing is in order. As for displaying what matched, we can look into it, but that would likely end up being a check_http change, and I can't say for sure that it would make it in... but we can think about it!
Also I did not found "Updated Bulk Host Cloning Wizard to have ability to specify parents and hostgroups ". When I tried to clone a website, I did not had the option of specifying hostgroups or parents.
Was this a feature request that was submitted, or something in the changelog that was supposed to be updated?
About the backup scheduler => it seems to me that the time configured to run is not equal to the time it will run. I set 13:45 and I get Enabled - Next Run: Thu, May 15th at 3:45 PM +02:00 CEST. This is kind of confusing, it should just use the local time imo. Also does it use the /usr/local/nagiosxi/scripts/backup_xi.sh script or does it uses another script. As I edit this script to rsync the backup to a mounted remote location. Which script should I edit now?
This is interesting, I would absolutely think it should be based of your servers localtime, and should be changed if it is not. As for what it uses, I honestly am not sure, but we can check on that too!
I tried the rdp/ssh component. When I try connecting to a Linux server, nothing happens. When I try to connect to a Windows server, it's trying to open a .rdp file. Maybe it should be possible to only allow rdp to Windows servers, maybe through a defined hostgroup and only allow ssh to Linux servers
Already working on resolves for this one too!
By the way, I'm not going to start listing all the things I do like, as there are too much of them....
Well at least we did more things right than not and glad other than these, that you are liking it!

Re: 2014 First Impressions

Posted: Wed May 14, 2014 6:28 pm
by BanditBBS
sreinhardt wrote:
Also I did not found "Updated Bulk Host Cloning Wizard to have ability to specify parents and hostgroups ". When I tried to clone a website, I did not had the option of specifying hostgroups or parents.
Was this a feature request that was submitted, or something in the changelog that was supposed to be updated?
Yes, and in my RC3 install it is there, so not sure why he isn't see it.

What version is your Bulk Cloning wizard?

Re: 2014 First Impressions

Posted: Wed May 14, 2014 8:22 pm
by snapon_admin
Yes, and in my RC3 install it is there, so not sure why he isn't see it.
If he's seeing the same thing I'm seeing (on R1.0) he might be having the same confusion I had at first. I believe it's like the 3rd option or so when you're clicking next through the wizard where it says something about inheriting parent hosts and groups from the clone, which is where I expected this change to be. When I looked again, though, I noticed it was in a different spot.
bulk hosts.png
Not sure if that's the case or not, but it threw me off at first, too. Oh, and I agree on the footer size. I work on a 42 inch TV as my main "monitor" so it's not an issue on there, but I did notice how huge the footer looks on my secondary puny little 27" screen. :P

Re: 2014 First Impressions

Posted: Thu May 15, 2014 2:27 am
by WillemDH
Hello,
Also I did not found "Updated Bulk Host Cloning Wizard to have ability to specify parents and hostgroups ". When I tried to clone a website, I did not had the option of specifying hostgroups or parents.

Was this a feature request that was submitted, or something in the changelog that was supposed to be updated?
Well, this was an entry in the changelog. I, looked up the version in config wizard components and I'm still on version 1.8, which seems to be the same version as my 2012 R2.9.

The screenshot snapon_admin posted is something I did not see. What should be the version of the bul host cloning wizard?
About the backup scheduler => it seems to me that the time configured to run is not equal to the time it will run. I set 13:45 and I get Enabled - Next Run: Thu, May 15th at 3:45 PM +02:00 CEST. This is kind of confusing, it should just use the local time imo. Also does it use the /usr/local/nagiosxi/scripts/backup_xi.sh script or does it uses another script. As I edit this script to rsync the backup to a mounted remote location. Which script should I edit now?

This is interesting, I would absolutely think it should be based of your servers localtime, and should be changed if it is not. As for what it uses, I honestly am not sure, but we can check on that too!
Please let me know what backup script is used :)

Grtz

Willem

Re: 2014 First Impressions

Posted: Thu May 15, 2014 8:49 am
by BanditBBS
1.9 is the version of the config wizard in my RC3 install. So for some reason your's did not upgrade.

Re: 2014 First Impressions

Posted: Thu May 15, 2014 9:49 am
by sreinhardt
You should be able to force an upgrade with the zip file in /tmp/nagiosxi/subcomponents/xiwizards/wizards/bulkhostimport.zip, just upload that via the manage wizards page. As for scheduled backups, it does use the standard backup_xi.sh script, so likely your changes were overwritten with the update, and I would of course suggest being careful about modifications.

Re: 2014 First Impressions

Posted: Wed May 28, 2014 10:15 am
by WillemDH
Well I was planning to wait for the next release to upgrade, as I saw so many people with issue on the forum and I can't afford a lot of downtime at the moment. Hopefully the cloning wizard will be updated the next time I update.

Re: 2014 First Impressions

Posted: Wed May 28, 2014 1:06 pm
by lmiltchev
I don't think following the sreinhardt's suggestion
You should be able to force an upgrade with the zip file in /tmp/nagiosxi/subcomponents/xiwizards/wizards/bulkhostimport.zip, just upload that via the manage wizards page.
would cause any downtime or any other issues for that matter but I guess if you can wait for the next release, that's fine.