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

Topics - nihplod

#1
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.
#2
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
#3
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?
#4
Feature Requests / Last values several nodes
May 14, 2012, 02:57:06 PM
Hi, something i have been missing is some way for me to view last values from a certain field from several nodes.
Like, i would like to have a full list of all the nodes in the network to show me their uptime as an example.

Or for whatever DCI you set it as. Cause for thos values a predefined graph will not work really. Just textvalues that i want to get.
And a other question, Predefined Graphs, i know i can create them in the legacy console and not in the new 1.2 console. That is fine.
Issue is that i cannot collect data from different nodes, it will only show data from one node. But i can show several values from the same node.

This worked before what i know.