Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - nihplod

#1
General Support / Re: SNMP Stopped working ESXi 5.1
February 27, 2014, 12:12:25 AM
Hi

I had a second vmk on a other interface that it could pull the snmp from, so i tried to move the primary vmk to the backup NIC but it did nothing. But i could still pull the snmp from the secondary vmk.

So i removed the secondary vmk and now it works flawlessy again with snmp.

I tried to reproduce this issue

vmk0 on LACP
vmk1 on single NIC

This makes snmp to stop working for vmk0 but works for vmk1
moving vmk0 to single nic together with vmk1 gives the same result. snmp works for vmk1 but not for vmk0

Removing vmk1 makes snmp to work instantly for vmk0
Moving vmk0 to LACP still works perfectly.

So, no idea why it stops working for vmk0 when i am having a vmk1 active on the same subnet. Specially when a snmpwalk works from different machines and the same machine hosting NetXMS-server.

If you would like some more information i could reproduce this issue for you and give you any dumps you require.
otherwise i am happy that it works again.

I just need to go through all the OID's again cause i removed the Node over and over again just to make sure there wasn't any weird issues :P
#2
General Support / SNMP Stopped working ESXi 5.1
February 26, 2014, 08:23:31 PM
Hi

I have migrated my ESXi-network from a vSphere Standard Switch to a vSphere Distributed Switch with 2 x 10Gbe Uplinks with LACP.
After that SNMP stopped working when i try to poll the node.


Running a SNMPwalk from the machine running NetXMS-server
[root@netxms] [/var/log] snmpwalk -c public -v 2c 10.0.0.2 | more
iso.3.6.1.2.1.1.1.0 = STRING: "VMware ESXi 5.1.0 build-1021289 VMware, Inc. x86_64"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.6876.4.1
iso.3.6.1.2.1.1.3.0 = Timeticks: (10246400) 1 day, 4:27:44.00
iso.3.6.1.2.1.1.4.0 = ""
iso.3.6.1.2.1.1.5.0 = STRING: "esxi.int.nihplod"
iso.3.6.1.2.1.1.6.0 = ""
iso.3.6.1.2.1.1.7.0 = INTEGER: 72
iso.3.6.1.2.1.1.8.0 = Timeticks: (0) 0:00:00.00


Running walk from a other node on the network
[nihplod@godfather] [~] snmpwalk -c public -v 2c 10.0.0.2 | more
SNMPv2-MIB::sysDescr.0 = STRING: VMware ESXi 5.1.0 build-1021289 VMware, Inc. x86_64
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.6876.4.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (10250000) 1 day, 4:28:20.00
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: esxi.int.nihplod
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.4 = OID: IP-MIB::ip.24
SNMPv2-MIB::sysORID.5 = OID: UDP-MIB::udp
SNMPv2-MIB::sysORID.6 = OID: TCP-MIB::tcp
SNMPv2-MIB::sysORID.7 = OID: SNMPv2-SMI::mib-2.47


Running walk from the machine running the NetXMS Management Console
C:\>SnmpWalk.exe -r:10.0.0.2
SnmpWalk v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]

OID=.1.2.840.10006.300.43.1.3.0, Type=TimeTicks, Value=0:00:00.00
OID=.1.3.6.1.2.1.1.1.0, Type=OctetString, Value=VMware ESXi 5.1.0 build-1021289
VMware, Inc. x86_64
OID=.1.3.6.1.2.1.1.2.0, Type=OID, Value=1.3.6.1.4.1.6876.4.1
OID=.1.3.6.1.2.1.1.3.0, Type=TimeTicks, Value=1 day 4:29:10.00
OID=.1.3.6.1.2.1.1.4.0, Type=OctetString, Value=
OID=.1.3.6.1.2.1.1.5.0, Type=OctetString, Value=esxi.int.nihplod
OID=.1.3.6.1.2.1.1.6.0, Type=OctetString, Value=
OID=.1.3.6.1.2.1.1.7.0, Type=Integer, Value=72
OID=.1.3.6.1.2.1.1.8.0, Type=TimeTicks, Value=0:00:00.00
OID=.1.3.6.1.2.1.1.9.1.2.1, Type=OID, Value=1.3.6.1.6.3.1
OID=.1.3.6.1.2.1.1.9.1.2.2, Type=OID, Value=1.3.6.1.2.1.31


The config poll in NetXMS Management Console
[26.02.2014 19:13:16] **** Poll request sent to server ****
[26.02.2014 19:13:16] Poll request accepted
[26.02.2014 19:13:16] Starting configuration poll for node ESXi
[26.02.2014 19:13:16] Checking node's capabilities...
[26.02.2014 19:13:16]    Checking SNMP...
[26.02.2014 19:14:36] Capability check finished
[26.02.2014 19:14:36] Checking interface configuration...
[26.02.2014 19:14:36] Unable to get interface list from node
[26.02.2014 19:14:36]    Interface "unknown" is no longer exist
[26.02.2014 19:14:36] Interface configuration check finished
[26.02.2014 19:14:36] Checking node name
[26.02.2014 19:14:36] Node name is OK
[26.02.2014 19:14:36] Finished configuration poll for node ESXi
[26.02.2014 19:14:36] Node configuration was not changed after poll
[26.02.2014 19:14:36] **** Poll completed successfully ****


This is what the netxms log-file tells me as soon as i try to do a poll.
[26-Feb-2014 19:13:19.137] [DEBUG] Starting configuration poll for node ESXi (ID: 1228)
[26-Feb-2014 19:13:19.137] [DEBUG] ConfPoll(ESXi): checking for NetXMS agent Flags={02000000} DynamicFlags={00000400}
[26-Feb-2014 19:13:19.138] [DEBUG] ConfPoll(ESXi): calling SnmpCheckCommSettings()
[26-Feb-2014 19:13:19.138] [DEBUG] SnmpCheckV3CommSettings: failed
[26-Feb-2014 19:13:19.139] [DEBUG] SnmpCheckCommSettings: trying version 1 community 'public'


I have tried to use SNMP version 1, 2c and 3 with the same result, but it works when doing the snmpwalk. No idea why it does not respond.
SNMP to my switch works perfectly.

I am running version 1.2.9 of server and console, i have tried to delete and add the node again. Also restarted NetXMS-server and rebooted the machine where NetXMS-server is running on.
I haven't restarted the ESXi-server, but i assume it should work when all other machines can snmpwalk it.

Any fancy clues?

Edit
I have upgraded the server to 1.2.12 and the issue is still there for me with the same output.
#3
That solved it indeed, thanks.

Weird, i have no memory in compiling anything from source on that machine. Cheers!
#4
Same issue, deinstall. Checked after all the libs, reinstalled. Same issue


root@webserver:/home/nihplod# apt-get remove netxms-agent netxms-base
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  netxms-agent netxms-base
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 43839 files and directories currently installed.)
Removing netxms-agent ...
Removing netxms-base ...
root@webserver:/home/nihplod# locate netxms
/home/nihplod/netxms-agent_1.2.0_amd64.deb
/home/nihplod/netxms-agent_1.2.1_amd64.deb
/home/nihplod/netxms-agent_1.2.3_amd64.deb
/home/nihplod/netxms-agent_1.2.6_amd64.deb
/home/nihplod/netxms-base_1.2.0_amd64.deb
/home/nihplod/netxms-base_1.2.1_amd64.deb
/home/nihplod/netxms-base_1.2.3_amd64.deb
/home/nihplod/netxms-base_1.2.6_amd64.deb
/usr/lib/libnetxms.so
/usr/lib/libnetxms.so.0
/usr/lib/libnetxms.so.0.0.2
/usr/lib/libnetxms.so.1
/usr/lib/libnetxms.so.1.0.0
/usr/lib/netxms
/var/lib/dpkg/info/netxms-agent.list
/var/lib/dpkg/info/netxms-agent.postinst
/var/lib/dpkg/info/netxms-agent.postrm
/var/lib/dpkg/info/netxms-agent.preinst
/var/lib/dpkg/info/netxms-agent.prerm
/var/lib/dpkg/info/netxms-base.list
root@webserver:/home/nihplod# cd /usr/lib
root@webserver:/usr/lib# rm libn
libnewt.so.0.52        libnfsidmap/           libnsl.so              libnss_hesiod.so
libnewt.so.0.52.11     libnfsidmap.so.0       libnss_compat.so       libnss_nisplus.so
libnfnetlink.so.0      libnfsidmap.so.0.3.0   libnss_dns.so          libnss_nis.so
libnfnetlink.so.0.2.0  libnsl.a               libnss_files.so       
root@webserver:/usr/lib# rm libn
libnewt.so.0.52        libnfsidmap/           libnsl.so              libnss_hesiod.so
libnewt.so.0.52.11     libnfsidmap.so.0       libnss_compat.so       libnss_nisplus.so
libnfnetlink.so.0      libnfsidmap.so.0.3.0   libnss_dns.so          libnss_nis.so
libnfnetlink.so.0.2.0  libnsl.a               libnss_files.so       
root@webserver:/usr/lib# find / -iname "*netxms*"
/home/nihplod/netxms-base_1.2.1_amd64.deb
/home/nihplod/netxms-base_1.2.9_amd64.deb
/home/nihplod/netxms-base_1.2.3_amd64.deb
/home/nihplod/netxms-agent_1.2.1_amd64.deb
/home/nihplod/netxms-agent_1.2.0_amd64.deb
/home/nihplod/netxms-agent_1.2.3_amd64.deb
/home/nihplod/netxms-base_1.2.6_amd64.deb
/home/nihplod/netxms-agent_1.2.9_amd64.deb
/home/nihplod/netxms-base_1.2.0_amd64.deb
/home/nihplod/netxms-agent_1.2.6_amd64.deb
/var/lib/dpkg/info/netxms-agent.list
/var/lib/dpkg/info/netxms-agent.postrm
root@webserver:/usr/lib# find / -iname "*nx*"
/lib/modules/2.6.32-5-amd64/kernel/drivers/hid/hid-petalynx.ko
/lib/modules/2.6.32-5-amd64/kernel/drivers/scsi/bnx2i
/lib/modules/2.6.32-5-amd64/kernel/drivers/scsi/bnx2i/bnx2i.ko
/lib/modules/2.6.32-5-amd64/kernel/drivers/media/dvb/frontends/nxt200x.ko
/lib/modules/2.6.32-5-amd64/kernel/drivers/media/dvb/frontends/nxt6000.ko
/lib/modules/2.6.32-5-amd64/kernel/drivers/net/bnx2.ko
/lib/modules/2.6.32-5-amd64/kernel/drivers/net/bnx2x.ko
/lib/modules/2.6.32-5-amd64/kernel/drivers/net/fealnx.ko
/lib/modules/2.6.32-5-amd64/kernel/drivers/net/wan/wanxl.ko
/lib/modules/2.6.32-5-amd64/kernel/fs/qnx4
/lib/modules/2.6.32-5-amd64/kernel/fs/qnx4/qnx4.ko
/tmp/.nxagentd.push
/tmp/.nxagentd.sd
/sys/devices/LNXSYSTM:00
/sys/devices/LNXSYSTM:00/LNXSYBUS:00
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/LNXCPU:00
/sys/devices/LNXSYSTM:00/LNXTHERM:00
/sys/devices/LNXSYSTM:00/LNXPWRBN:00
/sys/bus/acpi/devices/LNXSYSTM:00
/sys/bus/acpi/devices/LNXSYBUS:00
/sys/bus/acpi/devices/LNXCPU:00
/sys/bus/acpi/devices/LNXTHERM:00
/sys/bus/acpi/devices/LNXPWRBN:00
/sys/bus/acpi/drivers/button/LNXPWRBN:00
/sys/bus/acpi/drivers/processor/LNXCPU:00
/sys/kernel/slab/qnx4_inode_cache
/sys/module/qnx4
/etc/rc3.d/S17nxagentd
/etc/rc1.d/K01nxagentd
/etc/nxagentd.conf.backup
/etc/rc6.d/K01nxagentd
/etc/rc2.d/S17nxagentd
/etc/rc4.d/S17nxagentd
/etc/nxagentd.conf
/etc/rc0.d/K01nxagentd
/etc/rc5.d/S17nxagentd
/boot/grub/lnxboot.img
/home/nihplod/apcupsd-3.14.10/platforms/qnx
/home/nihplod/nxagentd.conf
/var/lib/update-rc.d/nxagentd
/var/log/nxagentd.log
/usr/lib/grub/i386-pc/lnxboot.img
/usr/lib/os-probes/mounted/10qnx
/usr/src/linux-headers-2.6.32-5-amd64/include/config/hid/petalynx.h
/usr/src/linux-headers-2.6.32-5-amd64/include/config/wanxl.h
/usr/src/linux-headers-2.6.32-5-amd64/include/config/scsi/bnx2
/usr/src/linux-headers-2.6.32-5-amd64/include/config/bnx2x.h
/usr/src/linux-headers-2.6.32-5-amd64/include/config/qnx4fs
/usr/src/linux-headers-2.6.32-5-amd64/include/config/bnx2.h
/usr/src/linux-headers-2.6.32-5-amd64/include/config/fealnx.h
/usr/src/linux-headers-2.6.32-5-amd64/include/config/dvb/nxt6000.h
/usr/src/linux-headers-2.6.32-5-amd64/include/config/dvb/nxt200x.h
/usr/src/linux-headers-2.6.32-5-common/include/linux/qnxtypes.h
/usr/src/linux-headers-2.6.32-5-common/include/linux/xilinxfb.h
/usr/src/linux-headers-2.6.32-5-common/include/linux/i2c-pnx.h
/usr/src/linux-headers-2.6.32-5-common/include/linux/qnx4_fs.h
/usr/src/linux-headers-2.6.32-5-common/include/linux/serial_pnx8xxx.h
/usr/local/lib/libnxtre.so.5
/usr/local/lib/libnxdb.so.1
/usr/local/lib/libnxlp.la
/usr/local/lib/libnxtre.la
/usr/local/lib/libnxdb.so
/usr/local/lib/libnxtre.so
/usr/local/lib/libnxsqlite.so.1
/usr/local/lib/libnxsqlite.so.1.0.0
/usr/local/lib/libnxlp.so.1
/usr/local/lib/libnxlp.so
/usr/local/lib/libnxlp.so.1.0.0
/usr/local/lib/libnxdb.so.1.0.0
/usr/local/lib/libnxsqlite.so
/usr/local/lib/libnxexpat.so.1
/usr/local/lib/libnxexpat.la
/usr/local/lib/libnxexpat.so
/usr/local/lib/libnxdb.la
/usr/local/lib/libnxsqlite.la
/usr/local/lib/libnxexpat.so.1.0.0
/usr/local/lib/libnxtre.so.5.0.0
/usr/local/bin/nxdevcfg
/usr/local/bin/nxcptest
/usr/share/doc/w3m/ja/examples/keymap.lynx
/usr/share/doc/w3m/examples/keymap.lynx
/usr/share/perl/5.10.1/ExtUtils/MM_QNX.pm
/usr/share/perl/5.10.1/unicore/lib/gc_sc/Phnx.pl
/usr/share/awstats/icon/os/winxbox.png
/usr/share/awstats/icon/os/winxp.png
/usr/share/awstats/icon/os/qnx.png
/usr/share/awstats/icon/browser/winxbox.png
/usr/share/awstats/icon/browser/lynx.png
/usr/share/man/man1/unxz.1.gz
/usr/share/man/man3/warnx.3.gz
/usr/share/man/man3/CMSG_NXTHDR.3.gz
/usr/share/man/man3/vwarnx.3.gz
/usr/share/perl5/URI/file/QNX.pm
/usr/share/vim/vim72/doc/os_qnx.txt
/usr/share/vim/vim72/syntax/lynx.vim
/usr/share/vim/vim72/syntax/sgmllnx.vim
/usr/share/mime/application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.xml
/usr/share/mime/application/vnd.openxmlformats-officedocument.presentationml.slideshow.xml
/usr/share/mime/application/vnd.openxmlformats-officedocument.presentationml.presentation.xml
/usr/share/mime/application/vnd.openxmlformats-officedocument.wordprocessingml.document.xml
/usr/share/terminfo/q/qnxm
/usr/share/terminfo/q/qnxt
/usr/share/terminfo/q/qnxw
/usr/share/terminfo/q/qnx4
/usr/share/terminfo/q/qnxt4
/usr/share/terminfo/q/qnxt2
/usr/share/terminfo/q/qnx
/usr/share/terminfo/q/qnxtmono
/usr/share/terminfo/n/nxterm
/usr/include/linux/qnxtypes.h
/usr/include/linux/qnx4_fs.h
/usr/bin/unxz


root@webserver:/home/nihplod# dpkg -i netxms-base_1.2.9_amd64.deb netxms-agent_1.2.9_amd64.deb
Selecting previously deselected package netxms-base.
(Reading database ... 43771 files and directories currently installed.)
Unpacking netxms-base (from netxms-base_1.2.9_amd64.deb) ...
Selecting previously deselected package netxms-agent.
Unpacking netxms-agent (from netxms-agent_1.2.9_amd64.deb) ...
Setting up netxms-base (1.2.9) ...
Setting up netxms-agent (1.2.9) ...


root@webserver:/home/nihplod# /usr/bin/nxagentd -c /etc/nxagentd.conf -D 9
[01-Nov-2013 19:27:35.490] [INFO ] Additional configs was loaded from /etc/nxagentd.conf.d
[01-Nov-2013 19:27:35.490] [INFO ] Debug level set to 9
[01-Nov-2013 19:27:35.490] [ERROR] Failed to load agent's registry from file /usr/var/netxms/registry.dat
[01-Nov-2013 19:27:35.490] [ERROR] Failed to save agent's registry to file /usr/var/netxms/registry.dat: No such file or directory
[01-Nov-2013 19:27:35.490] [DEBUG] Subagent API initialized
[01-Nov-2013 19:27:36.496] [DEBUG] Linux: using /sys/block to distinguish devices from partitions
[01-Nov-2013 19:27:36.499] [INFO ] Subagent "/usr/lib/libnsm_linux.so" loaded successfully
/usr/bin/nxagentd: symbol lookup error: /usr/bin/nxagentd: undefined symbol: _Z23DBSetDebugPrintCallbackPFviPKwP13__va_list_tagE
#5
Hi

I installed it from the deb-packages, it worked perfectly on all the other machines with similiar setup.
I even tried to remove it first and then install it again. Same issue.

Should i deinstall it, remove all Netxms*libs and reinstall?
#6
General Support / Nxagentd upgrade from 1.2.6 to 1.2.9
November 01, 2013, 06:22:51 PM
Hi, i just upgraded my server and then started to upgrade all my machines agents.

All machines are running Debian 6 or 7 and everything is working smootly

Except one machine

root@webserver:/home/nihplod# /usr/bin/nxagentd -c /etc/nxagentd.conf -D 9
[01-Nov-2013 17:18:49.515] [INFO ] Additional configs was loaded from /etc/nxagentd.conf.d
[01-Nov-2013 17:18:49.515] [INFO ] Debug level set to 9
[01-Nov-2013 17:18:49.515] [ERROR] Failed to load agent's registry from file /usr/var/netxms/registry.dat
[01-Nov-2013 17:18:49.515] [ERROR] Failed to save agent's registry to file /usr/var/netxms/registry.dat: No such file or directory
[01-Nov-2013 17:18:49.516] [DEBUG] Subagent API initialized
[01-Nov-2013 17:18:50.522] [DEBUG] Linux: using /sys/block to distinguish devices from partitions
[01-Nov-2013 17:18:50.524] [DEBUG] Unable to parse /proc/drbd, DRBD data collector will not start
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=fd0 isRealDevice=1)
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=sr0 isRealDevice=1)
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=sda isRealDevice=1)
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=sda1 isRealDevice=0)
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=sda2 isRealDevice=0)
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=sda5 isRealDevice=0)
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=loop0 isRealDevice=1)
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=loop1 isRealDevice=1)
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=loop2 isRealDevice=1)
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=loop3 isRealDevice=1)
[01-Nov-2013 17:18:50.524] [DEBUG] ParseIoStat(): new device added (name=loop4 isRealDevice=1)
[01-Nov-2013 17:18:50.525] [DEBUG] ParseIoStat(): new device added (name=loop5 isRealDevice=1)
[01-Nov-2013 17:18:50.525] [DEBUG] ParseIoStat(): new device added (name=loop6 isRealDevice=1)
[01-Nov-2013 17:18:50.525] [DEBUG] ParseIoStat(): new device added (name=loop7 isRealDevice=1)
[01-Nov-2013 17:18:50.526] [INFO ] Subagent "/usr/lib/libnsm_linux.so" loaded successfully
/usr/bin/nxagentd: symbol lookup error: /usr/bin/nxagentd: undefined symbol: _Z23DBSetDebugPrintCallbackPFviPKwP13__va_list_tagE


root@webserver:/home/nihplod# uname -a
Linux webserver 2.6.32-5-amd64 #1 SMP Thu Mar 22 17:26:33 UTC 2012 x86_64 GNU/Linux


It works on other machine with similar installation so i am a bit confused. Anything i messed up?

Edit--

If i remove 1.2.9 and install 1.2.6 again it works good
#7
General Support / Re: Raspberry Pi
August 01, 2012, 12:25:31 PM
It is built with --disable-iconv now, that is the only disable i have. Encryption isn't that important for me on my own private network at home. I can communicate with the node so it's not an issue now ^^
#8
General Support / Re: Raspberry Pi
August 01, 2012, 12:19:29 PM
I have tried with None, Plain text, md5 and sha1. But when i remove encryption from configuration file and restarts it works properly.

This is the result when i try accessing with the client using any setting when having force encryption activated on the node
[01-Aug-2012 09:12:21] Connection from 10.0.0.18 accepted
[01-Aug-2012 09:12:21] [session:0] Received control message CMD_GET_NXCP_CAPS
[01-Aug-2012 09:12:21] [session:0] Sending message CMD_NXCP_CAPS (size 16)
[01-Aug-2012 09:12:21] [session:0] Received message CMD_AUTHENTICATE
[01-Aug-2012 09:12:21] [session:0] Sending message CMD_REQUEST_COMPLETED (size 32)
[01-Aug-2012 09:12:21] [session:0] Received message CMD_REQUEST_SESSION_KEY
[01-Aug-2012 09:12:21] [session:0] Sending message CMD_SESSION_KEY (size 32)
[01-Aug-2012 09:12:21] [session:0] Session with 10.0.0.18 closed
#9
General Support / Re: Raspberry Pi
August 01, 2012, 10:28:11 AM
Yeah, it seems that it wont work when i have authentication running.
I have the same configuration as the other nodes and it will just halt when doing a poll, but if i comment out the authentication it will work. And i am using the very same settings that i've done for the other nodes that has working auth.

Thanks for the help tho =)
#10
General Support / Re: Raspberry Pi
July 31, 2012, 02:55:05 PM
I tried to rebuild it with that flag but it seems i have the same issue.

I sent you logindata and stuff for the unit.
Just use sudo for root stuff. Dont break the small baby :P
#11
General Support / Re: Raspberry Pi
July 28, 2012, 05:18:51 AM
Any idea about what i could do about this?
#12
General Support / Re: Raspberry Pi
July 19, 2012, 11:13:08 AM
tried
sudo sh configure --with-agent
and
sudo sh configure --with-agent --libdir=/usr/lib

Cause there was first some lib errors, but that was solved with the libdir i think. I also moved all the libs to /usr/lib that was for nxagent first compile also cause it wasn't looking in /usr/local/lib apparently.

attached config.h, the output from configure, the output from make and the output from make install
#13
General Support / Re: Raspberry Pi
July 18, 2012, 12:43:43 PM
If i disable the encryption in the agent and then tries to connect after done the changes in NetXMS console i get this result

[18-Jul-2012 09:40:04] Connection from 10.0.0.18 accepted
[18-Jul-2012 09:40:04] [session:0] Received control message CMD_GET_NXCP_CAPS
[18-Jul-2012 09:40:04] [session:0] Sending message CMD_NXCP_CAPS (size 16)
[18-Jul-2012 09:40:04] [session:0] Received message CMD_KEEPALIVE
[18-Jul-2012 09:40:04] [session:0] Sending message CMD_REQUEST_COMPLETED (size 32)
[18-Jul-2012 09:40:04] [session:0] Session with 10.0.0.18 closed


And the only thing i can see on NetXMS server is this
[18-Jul-2012 11:40:02] Starting configuration poll for node Pi (ID: 299)
[18-Jul-2012 11:40:02] ConfPoll(Pi): checking for NetXMS agent Flags={01000000} DynamicFlags={00000400}
[18-Jul-2012 11:40:02] ConfPoll(Pi): checking for NetXMS agent - connecting
[18-Jul-2012 11:40:02] ConfPoll(Pi): checking for NetXMS agent - failed to connect
[18-Jul-2012 11:40:02] ConfPoll(Pi): checking for NetXMS agent - finished
[18-Jul-2012 11:40:02] ConfPoll(Pi): checking for CheckPoint SNMP on port 260
[18-Jul-2012 11:40:10] Node::deleteInterface(node=Pi [299], interface=unknown [310])
[18-Jul-2012 11:40:10] Node::deleteInterface(node=Pi [299], interface=unknown [310]): unlinked from subnet 10.0.0.0/24 [102]
[18-Jul-2012 11:40:10] Deleting object 310 [unknown]
[18-Jul-2012 11:40:10] NetObj::Delete(): clearing parent list for object 310
[18-Jul-2012 11:40:10] NetObj::Delete(): clearing child list for object 310
[18-Jul-2012 11:40:10] NetObj::Delete(): deleting object 310 from indexes
[18-Jul-2012 11:40:10] NetObj::Delete(): calling OnObjectDelete(310)
[18-Jul-2012 11:40:10] Object 310 successfully deleted
[18-Jul-2012 11:40:10] Node::createNewInterface(0A000016, 00000000, (null), 0, 0, bp=0, slot=0, port=0) called for node Pi [299]
[18-Jul-2012 11:40:10] Node::createNewInterface: node=Pi [299] cluster=(null) [0] add=1
[18-Jul-2012 11:40:10] Finished configuration poll for node Pi (ID: 299)
[18-Jul-2012 11:40:10] EVENT 16 (ID:8343 F:0x0001 S:0 TAG:"") FROM Pi: Interface "unknown" deleted (IP Addr: 10.0.0.22/255.255.255.0, IfIndex: 1)
[18-Jul-2012 11:40:10] EVENT 11 (ID:8344 F:0x0001 S:0 TAG:"") FROM Pi: Node status changed to UNKNOWN
[18-Jul-2012 11:40:10] EVENT 3 (ID:8345 F:0x0001 S:0 TAG:"") FROM Pi: Interface "unknown" added (IP Addr: 10.0.0.22/255.255.255.0, IfIndex: 1)
[18-Jul-2012 11:40:10] Starting status poll for node Switch (ID: 104)
[18-Jul-2012 11:40:11] AccountStatusUpdater: wakeup
[18-Jul-2012 11:40:11] Finished status poll for node Switch (ID: 104)
[18-Jul-2012 11:40:15] Starting configuration poll for node Minecraft (ID: 133)
[18-Jul-2012 11:40:15] ConfPoll(Minecraft): checking for NetXMS agent Flags={08000002} DynamicFlags={00001002}
[18-Jul-2012 11:40:15] ConfPoll(Minecraft): checking for NetXMS agent - connecting
[18-Jul-2012 11:40:15] ConfPoll(Minecraft): checking for NetXMS agent - connected
[18-Jul-2012 11:40:15] ConfPoll(Minecraft): checking for NetXMS agent - finished
[18-Jul-2012 11:40:15] ConfPoll(Minecraft): calling SnmpCheckCommSettings()
[18-Jul-2012 11:40:15] SnmpCheckV3CommSettings: failed
[18-Jul-2012 11:40:15] SnmpCheckCommSettings: trying version 1 community 'public'
[18-Jul-2012 11:40:19] * Syncer * Unable to delete object with id 310 because it is being referenced 1 time(s)


Where do i need to dig to find something more?
#14
General Support / Raspberry Pi
July 18, 2012, 04:37:36 AM
Hi, i have compiled netms 1.2.1 agent on my Raspberry pi and after some tinkering the deamon starts

Problem is now, even though i am using the same cfg file as my other nodes i cannot get any readings from the unit.
I tried to run it with debug 9 just to get all the data from it..

[18-Jul-2012 01:33:46] Additional configs was loaded from /etc/nxagentd.conf.d
[18-Jul-2012 01:33:46] Debug level set to 9
[18-Jul-2012 01:33:46] Failed to load agent's registry from file /var/opt/netxms/agent/registry.dat
[18-Jul-2012 01:33:46] Failed to save agent's registry to file /var/opt/netxms/agent/registry.dat: No such file or directory
[18-Jul-2012 01:33:46] Subagent API initialized
[18-Jul-2012 01:33:47] Linux: using /sys/block to distinguish devices from partitions
[18-Jul-2012 01:33:47] Subagent "/usr/local/lib/libnsm_linux.so" loaded successfully
[18-Jul-2012 01:33:47] Unable to parse /proc/drbd, DRBD data collector will not start
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram0 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram1 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram2 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram3 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram4 isRealDevice=1)
[18-Jul-2012 01:33:47] Debug callback set for DB library
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram5 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram6 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram7 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram8 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram9 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram10 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram11 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram12 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram13 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram14 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=ram15 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=loop0 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=loop1 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=loop2 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=loop3 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=loop4 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=loop5 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=loop6 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=loop7 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=mmcblk0 isRealDevice=1)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=mmcblk0p1 isRealDevice=0)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=mmcblk0p2 isRealDevice=0)
[18-Jul-2012 01:33:47] ParseIoStat(): new device added (name=mmcblk0p3 isRealDevice=0)
[18-Jul-2012 01:33:48] External parameters providers poller thread will not start
[18-Jul-2012 01:33:48] Trying to bind on 0.0.0.0:4700
[18-Jul-2012 01:33:48] Listening on socket 0.0.0.0:4700
[18-Jul-2012 01:33:49] EXEC: Expanding command ""/usr/local/bin/nxagentd" -c "/etc/nxagentd.conf" -D 9 -W 19677"
[18-Jul-2012 01:33:49] EXEC: Executing ""/usr/local/bin/nxagentd" -c "/etc/nxagentd.conf" -D 9 -W 19677"
[18-Jul-2012 01:33:49] Watchdog process started
[18-Jul-2012 01:33:49] NetXMS Agent started
Agent running. Press Ctrl+C to shutdown.
[18-Jul-2012 01:34:23] Incoming connection from 10.0.0.18
[18-Jul-2012 01:34:23] Connection from 10.0.0.18 accepted
[18-Jul-2012 01:34:23] [session:0] Received control message CMD_GET_NXCP_CAPS
[18-Jul-2012 01:34:23] [session:0] Sending message CMD_NXCP_CAPS (size 16)
[18-Jul-2012 01:34:23] [session:0] Received message CMD_AUTHENTICATE
[18-Jul-2012 01:34:23] [session:0] Sending message CMD_REQUEST_COMPLETED (size 32)
[18-Jul-2012 01:34:23] [session:0] Received message CMD_REQUEST_SESSION_KEY
[18-Jul-2012 01:34:23] [session:0] Sending message CMD_SESSION_KEY (size 32)
[18-Jul-2012 01:34:23] [session:0] Session with 10.0.0.18 closed


The last 8 rows is the connection from my NetXMS server and that is the only thing that happens, nothing more nothing less.
Any idea what is missing?
#15
Feature Requests / Re: Last values several nodes
May 15, 2012, 07:55:14 PM
Hi, yes you can add DCI's from other nodes. But the graph itself will only show graphs from one node. Not all the sources added i they are from other nodes.

It chooses the first node in the list and just presents that node and it's DCI's.