schubergphilis / Check_Nexenta

Nagios plugin to monitor Nexenta systems.
Apache License 2.0
5 stars 12 forks source link

API Error when running with 'Report SNMP performance data' #8

Open luratech opened 8 years ago

luratech commented 8 years ago

I'm getting these errors when i try to run the check with -P switch:

error: walk: unknown object ID (HOST-RESOURCES-MIB) error: walk: unknown object ID (IF-MIB) CRITICAL: API error occured: {u'message': u'Fewer items found in D-Bus signature than in Python arguments'}

snmp-settings should be correct - they work just fine in cacti-checks. Any idea?

brennmiddag commented 8 years ago

Hi, On what version of NexentaStor is this happening? I can't reproduce this issue. Also, when you login to your cacti server and run the check manually from that server does this still happen?

regards,

Brenn

luratech commented 8 years ago

Appliance version is 4.0.1 and it also happens on manual checks. Been digging through the code - i'm almost sure it's not a problem with the script but some internal problem in Nexenta 4.0.1 - the message originates from /usr/lib/python2.6/vendor-packages/_dbus_bindings.so.

luratech commented 8 years ago

Hm, it actually does NOT look like Nexenta related:

tested it with a fresh nexenta 4.0.4 install and no customization except of snmp community. Same results as on 4.0.1 - nmv.log:

2016-07-13 16:26:31,262 turbogears.identity.soprovider INFO Associating user (admin) with visit (07edb56638a05362517ac6ec97092c30d01894eb) 2016-07-13 16:26:31,307 turbogears.identity.soprovider INFO Associating user (admin) with visit (9fb3f23e5c281d15a02a62f96a65e2880cc8acba) 2016-07-13 16:26:31,381 turbogears.identity.soprovider INFO Associating user (admin) with visit (b8e167481d9a951cca13e951a6b761c40d70491c) 2016-07-13 16:26:31,396 dbus.connection ERROR Unable to set arguments (u'',) according to signature '': <type 'exceptions.TypeError'>: Fewer items found in D-Bus signature than in Python arguments 2016-07-13 16:26:31,396 nza ERROR com.nexenta.nms::/Root/Appliance::get_memstat(u''): Fewer items found in D-Bus signature than in Python arguments

I've also tested from different client machines without any differences.