2014R1.0RC1 Initial reaction and question(s)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
b2m
Posts: 71
Joined: Tue Jun 11, 2013 9:18 am

Re: 2014R1.0RC1 Initial reaction and question(s)

Post by b2m »

It says version Nagios XI 2014R1.0RC2 now. I upgraded from RC1. The issue is still there. Could you tell me what could be missing in my installation?

Btw, in the TODO file of the Switch wizzard it says "Issue: SNMPv3 of this wizard will not even work with CentOS 5". Is this relevant?

Thank you.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: 2014R1.0RC1 Initial reaction and question(s)

Post by sreinhardt »

Could you run the following commands please and return us the upgrade.log file.

Code: Select all

cd /tmp
rm -rf nagiosxi*; rm -rf xi-*
wget http://assets.nagios.com/downloads/nagiosxi/2014/xi-2014r1.0RC2.tar.gz
tar xzf xi-2014r1.0RC2.tar.gz
cd nagiosxi/
./upgrade &> /tmp/upgrade.log
This should give us a much more clear idea of why components are not updating on your system. Also, yes if you using centos 5, that might play a role, although my test machine is as well and it does display the tab regardless if it will work or not.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
b2m
Posts: 71
Joined: Tue Jun 11, 2013 9:18 am

Re: 2014R1.0RC1 Initial reaction and question(s)

Post by b2m »

Alright, there it is :).
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: 2014R1.0RC1 Initial reaction and question(s)

Post by sreinhardt »

Thanks I will take a look and get back to you shortly.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: 2014R1.0RC1 Initial reaction and question(s)

Post by scottwilkerson »

Lets run the following

Code: Select all

cd /tmp/nagiosxi/subcomponents/mrtg
./upgrade
Post any error output. I believe this didn't upgrade correctly when you first installed 2014
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
b2m
Posts: 71
Joined: Tue Jun 11, 2013 9:18 am

Re: 2014R1.0RC1 Initial reaction and question(s)

Post by b2m »

Code: Select all

[root@localhost ~]#     cd /tmp/nagiosxi/subcomponents/mrtg
[root@localhost mrtg]#     ./upgrade
Upgrading MRTG...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for perl... /usr/bin/perl
checking for groff... /usr/bin/groff
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking for unsigned long long... yes
checking for long long... yes
checking for strtoll... yes
checking for printf long long format specifier... %lld
checking for pow in -lm... yes
checking for gdImageGif in -lgd... yes
checking for gdImagePng in -lgd... yes
checking for gdImagePng_jpg in -lgd... no
checking for gdImagePng_jpg_ft in -lgd... no
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking the weather... (cached) it's fine
checking if we can use GCC-specific compiler options... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
ordering CD from http://tobi.oetiker.ch/wish .... just kidding ;-)

----------------------------------------------------------------
Config is DONE!

Type 'make' to compile the software

       ... that wishlist mentioned above does really exist. So if
you feel like showing your appreciation for MRTG, this is the
place to go. I just love CDs and DVDs

                            -- Tobi Oetiker <[email protected]>
----------------------------------------------------------------
gcc  -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-declarations -Wnested-externs -Winline -W -DHAVE_CONFIG_H -c ./src/rateup.c -o bin/rateup.o
gcc bin/rateup.o -o bin/rateup   -lgd -lpng -lz  -lm
/usr/bin/perl -0777 -p -i~ -e "s'^#!\s*/\S*perl'#! /usr/bin/perl'" ./bin/cfgmaker ./bin/indexmaker ./bin/mrtg
/usr/bin/perl -0777 -p -i~ -e 's@GRAPHFMT="...";@GRAPHFMT="png";@' ./bin/mrtg ./bin/indexmaker
/usr/bin/perl -0777 -p -i~ -e "s'^#!\s*/\S*perl'#! /usr/bin/perl'" ./bin/cfgmaker ./bin/indexmaker ./bin/mrtg
/usr/bin/perl -0777 -p -i~ -e 's@GRAPHFMT="...";@GRAPHFMT="png";@' ./bin/mrtg ./bin/indexmaker
/bin/sh ./mkinstalldirs /usr/bin
for x in ./bin/mrtg ./bin/cfgmaker ./bin/indexmaker ./bin/mrtg-traffic-sum; do \
          /usr/bin/install -c -m 755 $x /usr/bin; done
for x in bin/rateup; do \
          /usr/bin/install -c -m 755 $x /usr/bin; done
/bin/sh ./mkinstalldirs /usr/lib/mrtg2/Pod
for x in ./lib/mrtg2/*.pm; do \
          /usr/bin/install -c -m 644 $x /usr/lib/mrtg2; done
for x in ./lib/mrtg2/Pod/*.pm; do \
          /usr/bin/install -c -m 644 $x /usr/lib/mrtg2/Pod; done
/bin/sh ./mkinstalldirs /usr/share/mrtg2/icons
for x in ./images/*.gif ./images/*.png; do \
          /usr/bin/install -c -m 644 $x /usr/share/mrtg2/icons; done
/bin/sh ./mkinstalldirs /usr/share/doc/mrtg2
(cd .; for x in COPYING COPYRIGHT README CHANGES THANKS doc/*.pod doc/*.txt doc/*.png; do \
          /usr/bin/install -c -m 644 $x /usr/share/doc/mrtg2; done)
/bin/sh ./mkinstalldirs /usr/share/man/man1
for x in ./doc/*.1; do \
          /usr/bin/install -c -m 644 $x /usr/share/man/man1; done
MRTG-POST
MRTG upgraded OK
Still the same issue..

Code: Select all

[root@localhost mrtg]# /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' --enablesnmpv3 --snmp-options=:::::3 --username='manager' --authprotocol='sha' --authpassword='xxxx' --privprotocol='aescfb128' --privpassword='xxxx' --contextengineid=0 '192.168.120.253'
--base: SNMP V3 libraries found, SNMP V3 enabled.
Only des, 3des, 3desede, aes, aes128 are defined for --privprotocol at /usr/bin/cfgmaker line 1540.
When I type

Code: Select all

[root@localhost mrtg]# /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' --enablesnmpv3 --snmp-options=:::::3 --username='manager' --authprotocol='sha' --authpassword='xxxx' --privprotocol='aes128' --privpassword='xxxx' --contextengineid=0 '192.168.120.253'
--base: SNMP V3 libraries found, SNMP V3 enabled.
it seems to work. At least I see a lot of information queried from the switch in the command line.

Can someone from you test this, please?

By the way, I also tried a new fullinstall of RC2 in the meantime. This doesn't help, eather.

Thank you.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: 2014R1.0RC1 Initial reaction and question(s)

Post by scottwilkerson »

@b2m - I believe you did find a bug in MRTG's cfgmaker.

Would it be possible for you to attach the /usr/bin/cfgmaker from your machine?
Last edited by scottwilkerson on Fri Apr 25, 2014 9:34 am, edited 4 times in total.
Reason: Rethink
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: 2014R1.0RC1 Initial reaction and question(s)

Post by scottwilkerson »

Here is what I believe I found... At line 1540 of /usr/bin/cfgmaker, you will see

Code: Select all

die "Only des, 3des, 3desede, aes, aes128 are defined for --privprotocol" if $$opt{privprotocol} !~ /^(?:3?des(?:ede)?|aes(?:128)?)$/;
Which needs to be changed to

Code: Select all

die "Only des, 3des, 3desede, aes, aes128 are defined for --privprotocol" if $$opt{privprotocol} !~ /^(?:3?des(?:ede)?|aes(?:128|cfb128|cfb192|cfb256)?)$/;
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
b2m
Posts: 71
Joined: Tue Jun 11, 2013 9:18 am

Re: 2014R1.0RC1 Initial reaction and question(s)

Post by b2m »

I'm glad to help ;). And I'm looking forward to getting a well-working SNMPv3 function in next release :).

Maybe I'll try it with your change later on.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: 2014R1.0RC1 Initial reaction and question(s)

Post by scottwilkerson »

b2m wrote:I'm glad to help ;). And I'm looking forward to getting a well-working SNMPv3 function in next release :).

Maybe I'll try it with your change later on.
Let me know if this works out for you, we can make the modifications to cfgmaker in the source...

Thanks again!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked