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.


Topics - piwo

Pages: [1]
1
Allgemeine Diskussionen / python3 wieder einmal ...
« on: February 07, 2019, 01:19:29 »
sorry liebe gemeinde, aber es ist eol v. python2.x und wer macht sich nicht da gedanken über python3 ;-)

beim drüberfliegen über die ipconn-library habe ich mehr fragen als antworten :

da werden prober-threads, callback-threads usw. wie ein feuerwerk geballert. schön.

da seh ich queues, kontexte, wasauchimmer - grossartig

diesen code von einem async* aus zu bändigen : mahlzeit

wie habt ihr euch das so vorgestellt ?

wie soll dieses feuerwerk unter einer python-3 eventloop ansteuerbar sein ???

aber bitte keine kryptischen no-na-du-depp-meldungen.

ein klares design bitte.

ODER MUSS ICH JETZT ALLE MEINE TF-HARDWARE VERSCHROTTEN WEIL ICH MIR DIE HÄNDE BRECHE MIT EINER STATE-OF-THE-ART-IMPLEMENTIERUNG von standard-vorgängen mit asyncio ????????????????

lg wp

2
hallo liebe leute -

wie ich sehe geht das einmessen eines neuen sensors beim nicht mehr so locker wie beim v1

ich habe die kurve bzw. die interpolation : wie bekomme ich die in die firmware rein ?????

kann leider nicht nur mit dem value-callback alleine arbeiten -
BRAUCHE die interne umrechnung um auch den distance-callback nutzen zu können ....

lgw

danke & lg

3
liebe leute ...

soweit ich das beurteilen kann wäre das wohl genau das was tf wirklich voranbringen könnte :

ein switch der python bindings auf python3/asyncio was allerdings keinen stein auf dem anderen liesse, da das alles dann einigermassen einfacher wäre

meinungen ?
chancen (borg etc) ?

lg wolfgang

4
Software, Programmierung und externe Tools / red logging
« on: December 15, 2016, 10:55:18 »
guten tag ...

ein "kleines" problem hätte ich mit dem logging :

1) folgende blöcke von zeilen tauchen immer wieder ca. alle 13 sekunden im log auf :

##N## startet mit 1000 und dann 100x incremet um 1000 bis 100000
red-brick kernel: [2195829.073786] socket_send( ##N## ): free_buf_size 2048

ergibt bei ca. 450000 log-events ca. 100MB pro tag (weil in kern.log und messages) die dann in einem backlog von 7 generationen "aufbewahrt" werden -

macht insgesamt ein rundes gb !!!

bitte um ABHILFE !!!

lg
wp

5
hi

könnte bitte mal einer ein 1.8 frisch aufspielen & dann mit dem original huawei aus'm shop versuchen ein mobiles internet zu etablieren ????

danke ...

meine beobachtungen sind dabei nicht die erfreulichsten :

- kein modeswitch & brickviewer 2.3.4 mobile internet tab zeigt kein modem
- nachdem modeswitch mit apt-get manuell nachinstalliert & modprobe & modeswitch mit devid 12d1:1446 ausgeführt wurde:
- mobile internet tab - connect zeigt nun das korrekte modem aber dmesg meldet :
 [ 3314.213261] option: option_instat_callback: error -2

bin einigermaßen frustriert und ersuche um verfifikation bzw. lösungsansätze

lgwp

6
# wc -l dead.letter
1372604 dead.letter
#  du -h dead.letter
101M    dead.letter

inhalt (ewig wiederkehrend dasselbe) :
Quote
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (SNMPv2-TC): At line 10 in /usr/share/snmp/mibs/UCD-DLMOD-MIB.txt
Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Cannot find module (SNMPv2-TC): At line 37 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Did not find 'enterprises' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'TruthValue' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Unlinked OID in UCD-SNMP-MIB: ucdavis ::= { enterprises 2021 }
Undefined identifier: enterprises near line 39 of /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt)
Did not find 'ucdExperimental' in module UCD-SNMP-MIB (/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt)
Unlinked OID in UCD-DLMOD-MIB: ucdDlmodMIB ::= { ucdExperimental 14 }
Undefined identifier: ucdExperimental near line 13 of /usr/share/snmp/mibs/UCD-DLMOD-MIB.txt
Cannot find module (MTA-MIB): At line 0 in (none)
Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TC): At line 15 in /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)
Did not find 'ucdExperimental' in module UCD-SNMP-MIB (/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)
Unlinked OID in UCD-DISKIO-MIB: ucdDiskIOMIB ::= { ucdExperimental 15 }
Undefined identifier: ucdExperimental near line 19 of /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
Cannot find module (SNMPv2-TC): At line 15 in /usr/share/snmp/mibs/LM-SENSORS-MIB.txt
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/LM-SENSORS-MIB.txt)
Did not find 'ucdExperimental' in module UCD-SNMP-MIB (/usr/share/snmp/mibs/LM-SENSORS-MIB.txt)
Unlinked OID in LM-SENSORS-MIB: lmSensors ::= { ucdExperimental 16 }
Undefined identifier: ucdExperimental near line 32 of /usr/share/snmp/mibs/LM-SENSORS-MIB.txt
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Did not find 'ucdavis' in module UCD-SNMP-MIB (/usr/share/snmp/mibs/UCD-DEMO-MIB.txt)
Unlinked OID in UCD-DEMO-MIB: ucdDemoMIB ::= { ucdavis 14 }
Undefined identifier: ucdavis near line 7 of /usr/share/snmp/mibs/UCD-DEMO-MIB.txt
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 9 in /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Cannot find module (SNMPv2-SMI): At line 8 in /usr/share/snmp/mibs/NET-SNMP-MIB.txt
Did not find 'enterprises' in module #-1 (/usr/share/snmp/mibs/NET-SNMP-MIB.txt)
Unlinked OID in NET-SNMP-MIB: netSnmp ::= { enterprises 8072 }
Undefined identifier: enterprises near line 10 of /usr/share/snmp/mibs/NET-SNMP-MIB.txt
Cannot find module (SNMPv2-TC): At line 21 in /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Did not find 'SnmpAdminString' in module #-1 (/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)
Did not find 'netSnmpObjects' in module NET-SNMP-MIB (/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)
Did not find 'netSnmpModuleIDs' in module NET-SNMP-MIB (/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)
Did not find 'netSnmpNotifications' in module NET-SNMP-MIB (/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)
Did not find 'netSnmpGroups' in module NET-SNMP-MIB (/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)
Did not find 'RowStatus' in module #-1 (/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)
Did not find 'TruthValue' in module #-1 (/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)
Unlinked OID in NET-SNMP-AGENT-MIB: nsAgentNotifyGroup ::= { netSnmpGroups 9 }
Undefined identifier: netSnmpGroups near line 545 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsTransactionGroup ::= { netSnmpGroups 8 }
Undefined identifier: netSnmpGroups near line 536 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsConfigGroups ::= { netSnmpGroups 7 }
Undefined identifier: netSnmpGroups near line 515 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsCacheGroup ::= { netSnmpGroups 4 }
Undefined identifier: netSnmpGroups near line 505 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsModuleGroup ::= { netSnmpGroups 2 }
Undefined identifier: netSnmpGroups near line 495 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: netSnmpAgentMIB ::= { netSnmpModuleIDs 2 }
Undefined identifier: netSnmpModuleIDs near line 24 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsTransactions ::= { netSnmpObjects 8 }
Undefined identifier: netSnmpObjects near line 55 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsConfiguration ::= { netSnmpObjects 7 }
Undefined identifier: netSnmpObjects near line 54 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsErrorHistory ::= { netSnmpObjects 6 }
Undefined identifier: netSnmpObjects near line 53 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsCache ::= { netSnmpObjects 5 }
Undefined identifier: netSnmpObjects near line 52 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsDLMod ::= { netSnmpObjects 4 }
Undefined identifier: netSnmpObjects near line 51 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsExtensions ::= { netSnmpObjects 3 }
Undefined identifier: netSnmpObjects near line 50 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsMibRegistry ::= { netSnmpObjects 2 }
Undefined identifier: netSnmpObjects near line 49 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsVersion ::= { netSnmpObjects 1 }
Undefined identifier: netSnmpObjects near line 48 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsNotifyRestart ::= { netSnmpNotifications 3 }
Undefined identifier: netSnmpNotifications near line 482 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsNotifyShutdown ::= { netSnmpNotifications 2 }
Undefined identifier: netSnmpNotifications near line 476 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Unlinked OID in NET-SNMP-AGENT-MIB: nsNotifyStart ::= { netSnmpNotifications 1 }
Undefined identifier: netSnmpNotifications near line 470 of /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (IP-FORWARD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 10 in /usr/share/snmp/mibs/NET-SNMP-PASS-MIB.txt
......
......
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpExampleTables ::= { netSnmpExamples 2 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpExampleScalars ::= { netSnmpExamples 1 }
Cannot adopt OID in NET-SNMP-VACM-MIB: nsVacmAccessTable ::= { netSnmpVacmMIB 1 }
Cannot adopt OID in UCD-SNMP-MIB: ucdShutdown ::= { ucdTraps 2 }
Cannot adopt OID in UCD-SNMP-MIB: ucdStart ::= { ucdTraps 1 }
Cannot adopt OID in LM-SENSORS-MIB: lmMiscSensorsTable ::= { lmSensors 5 }
Cannot adopt OID in LM-SENSORS-MIB: lmVoltSensorsTable ::= { lmSensors 4 }
Cannot adopt OID in LM-SENSORS-MIB: lmFanSensorsTable ::= { lmSensors 3 }
Cannot adopt OID in LM-SENSORS-MIB: lmTempSensorsTable ::= { lmSensors 2 }
Cannot adopt OID in LM-SENSORS-MIB: lmSensorsMIB ::= { lmSensors 1 }
Cannot adopt OID in UCD-SNMP-MIB: mrEntry ::= { mrTable 1 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendConfigEntry ::= { nsExtendConfigTable 1 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostRowStatus ::= { netSnmpHostsEntry 5 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostStorage ::= { netSnmpHostsEntry 4 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostAddress ::= { netSnmpHostsEntry 3 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostAddressType ::= { netSnmpHostsEntry 2 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostName ::= { netSnmpHostsEntry 1 }
Cannot adopt OID in UCD-SNMP-MIB: prEntry ::= { prTable 1 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpExampleNotification ::= { netSnmpExampleNotifications 1 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpExampleNotificationObjects ::= { netSnmpExampleNotifications 2 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpExampleNotificationPrefix ::= { netSnmpExampleNotifications 0 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostsTable ::= { netSnmpExampleTables 2 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpIETFWGTable ::= { netSnmpExampleTables 1 }
Cannot adopt OID in NET-SNMP-PASS-MIB: netSnmpPassOID ::= { netSnmpPassEntry 3 }
Cannot adopt OID in NET-SNMP-PASS-MIB: netSnmpPassInteger ::= { netSnmpPassEntry 2 }
Cannot adopt OID in NET-SNMP-PASS-MIB: netSnmpPassIndex ::= { netSnmpPassEntry 1 }
Cannot adopt OID in NET-SNMP-VACM-MIB: netSnmpVacmMIB ::= { netSnmpObjects 9 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsVersion ::= { netSnmpObjects 1 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsMibRegistry ::= { netSnmpObjects 2 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsExtensions ::= { netSnmpObjects 3 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsDLMod ::= { netSnmpObjects 4 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsCache ::= { netSnmpObjects 5 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsErrorHistory ::= { netSnmpObjects 6 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsConfiguration ::= { netSnmpObjects 7 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsTransactions ::= { netSnmpObjects 8 }
Cannot adopt OID in UCD-DEMO-MIB: ucdDemoMIB ::= { ucdavis 14 }
Cannot adopt OID in UCD-SNMP-MIB: logMatch ::= { ucdavis 16 }
Cannot adopt OID in UCD-SNMP-MIB: fileTable ::= { ucdavis 15 }
Cannot adopt OID in UCD-SNMP-MIB: ucdTraps ::= { ucdavis 251 }
Cannot adopt OID in UCD-SNMP-MIB: systemStats ::= { ucdavis 11 }
Cannot adopt OID in UCD-SNMP-MIB: mrTable ::= { ucdavis 102 }
Cannot adopt OID in UCD-SNMP-MIB: snmperrs ::= { ucdavis 101 }
Cannot adopt OID in UCD-SNMP-MIB: version ::= { ucdavis 100 }
Cannot adopt OID in UCD-SNMP-MIB: laTable ::= { ucdavis 10 }
Cannot adopt OID in UCD-SNMP-MIB: dskTable ::= { ucdavis 9 }
Cannot adopt OID in UCD-SNMP-MIB: memory ::= { ucdavis 4 }
Cannot adopt OID in UCD-SNMP-MIB: extTable ::= { ucdavis 8 }
Cannot adopt OID in UCD-SNMP-MIB: prTable ::= { ucdavis 2 }
Cannot adopt OID in UCD-SNMP-MIB: ucdSnmpAgent ::= { ucdavis 250 }
Cannot adopt OID in UCD-SNMP-MIB: ucdExperimental ::= { ucdavis 13 }
Cannot adopt OID in UCD-SNMP-MIB: ucdInternal ::= { ucdavis 12 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsModuleEntry ::= { nsModuleTable 1 }
Cannot adopt OID in UCD-SNMP-MIB: dskErrorMsg ::= { dskEntry 101 }
Cannot adopt OID in UCD-SNMP-MIB: dskErrorFlag ::= { dskEntry 100 }
Cannot adopt OID in UCD-SNMP-MIB: dskUsedHigh ::= { dskEntry 16 }
Cannot adopt OID in UCD-SNMP-MIB: dskUsedLow ::= { dskEntry 15 }
Cannot adopt OID in UCD-SNMP-MIB: dskAvailHigh ::= { dskEntry 14 }
Cannot adopt OID in UCD-SNMP-MIB: dskAvailLow ::= { dskEntry 13 }
Cannot adopt OID in UCD-SNMP-MIB: dskTotalHigh ::= { dskEntry 12 }
Cannot adopt OID in UCD-SNMP-MIB: dskTotalLow ::= { dskEntry 11 }
Cannot adopt OID in UCD-SNMP-MIB: dskPercentNode ::= { dskEntry 10 }
Cannot adopt OID in UCD-SNMP-MIB: dskPercent ::= { dskEntry 9 }
Cannot adopt OID in UCD-SNMP-MIB: dskUsed ::= { dskEntry 8 }
Cannot adopt OID in UCD-SNMP-MIB: dskAvail ::= { dskEntry 7 }
Cannot adopt OID in UCD-SNMP-MIB: dskTotal ::= { dskEntry 6 }
Cannot adopt OID in UCD-SNMP-MIB: dskMinPercent ::= { dskEntry 5 }
Cannot adopt OID in UCD-SNMP-MIB: dskMinimum ::= { dskEntry 4 }
Cannot adopt OID in UCD-SNMP-MIB: dskDevice ::= { dskEntry 3 }
Cannot adopt OID in UCD-SNMP-MIB: dskPath ::= { dskEntry 2 }
Cannot adopt OID in UCD-SNMP-MIB: dskIndex ::= { dskEntry 1 }
Cannot adopt OID in UCD-DISKIO-MIB: diskIOTable ::= { ucdDiskIOMIB 1 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLoggingGroup ::= { nsConfigGroups 2 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsDebugGroup ::= { nsConfigGroups 1 }
Cannot adopt OID in UCD-SNMP-MIB: snmperrErrMessage ::= { snmperrs 101 }
Cannot adopt OID in UCD-SNMP-MIB: snmperrErrorFlag ::= { snmperrs 100 }
Cannot adopt OID in UCD-SNMP-MIB: snmperrNames ::= { snmperrs 2 }
Cannot adopt OID in UCD-SNMP-MIB: snmperrIndex ::= { snmperrs 1 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsTransactionTable ::= { nsTransactions 1 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLogStatus ::= { nsLoggingEntry 5 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLogMaxLevel ::= { nsLoggingEntry 4 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLogType ::= { nsLoggingEntry 3 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLogToken ::= { nsLoggingEntry 2 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLogLevel ::= { nsLoggingEntry 1 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendResult ::= { nsExtendOutput1Entry 4 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutNumLines ::= { nsExtendOutput1Entry 3 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutputFull ::= { nsExtendOutput1Entry 2 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutput1Line ::= { nsExtendOutput1Entry 1 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutLine ::= { nsExtendOutput2Entry 2 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendLineIndex ::= { nsExtendOutput2Entry 1 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyStart ::= { netSnmpNotifications 1 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyShutdown ::= { netSnmpNotifications 2 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyRestart ::= { netSnmpNotifications 3 }
Cannot adopt OID in UCD-SNMP-MIB: laErrMessage ::= { laEntry 101 }
Cannot adopt OID in UCD-SNMP-MIB: laErrorFlag ::= { laEntry 100 }
Cannot adopt OID in UCD-SNMP-MIB: laLoadFloat ::= { laEntry 6 }
Cannot adopt OID in UCD-SNMP-MIB: laLoadInt ::= { laEntry 5 }
Cannot adopt OID in UCD-SNMP-MIB: laConfig ::= { laEntry 4 }
Cannot adopt OID in UCD-SNMP-MIB: laLoad ::= { laEntry 3 }
Cannot adopt OID in UCD-SNMP-MIB: laNames ::= { laEntry 2 }
Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 }

wie kann man das abstellen ???

lg
wolfgang

7
Software, Programmierung und externe Tools / rs485 kills red-brick
« on: January 16, 2016, 21:22:10 »
hallo !

habe rs485-netzwerk mit stepdown von 26v in jeder node :

( red + ethernet-ext + rs485-ext) <---> (1-3 master-bricks + rs-485) <---> ....
... <---> (1-3 master-bricks + rs-485)

der red ist eine eigene node damit der stromverbrauch des usb-gsm-dongles & der ethernet-extension nicht zu instabilitäten führt

PROBLEM(E):

1) der brick "stirbt" mit folgenden system-log-einträgen "send verification failed" - SIEHE :

Quote
2016-01-13 17:27:29.542519 <I> <network.c:373> Added new client (N: 192.168.1.40:60875, T: plain-socket, H: 26, A: disabled)
2016-01-13 17:27:34.211817 <I> <client.c:220> Client (N: 192.168.1.40:60875, T: plain-socket, H: 26, A: disabled) disconnected by peer
2016-01-13 17:27:34.211991 <W> <client.c:381> Destroying client (N: 192.168.1.40:60875, T: plain-socket, H: 26, A: disabled) while 1 request(s) are still pending
2016-01-13 17:27:35.212141 <W> <zombie.c:96> Destroying zombie (id: 5) while 1 request(s) are still pending
2016-01-13 17:27:36.248623 <I> <network.c:373> Added new client (N: 192.168.1.40:60877, T: plain-socket, H: 26, A: disabled)
2016-01-13 17:27:42.809263 <I> <client.c:220> Client (N: 127.0.0.1:49521, T: plain-socket, H: 25, A: disabled) disconnected by peer
2016-01-13 17:27:46.856486 <I> <network.c:373> Added new client (N: 127.0.0.1:49522, T: plain-socket, H: 25, A: disabled)
2016-01-13 17:28:13.881132 <I> <client.c:220> Client (N: 127.0.0.1:49522, T: plain-socket, H: 25, A: disabled) disconnected by peer
2016-01-13 17:28:19.897407 <I> <client.c:220> Client (N: 192.168.1.40:60877, T: plain-socket, H: 26, A: disabled) disconnected by peer
2016-01-13 17:28:22.118107 <I> <network.c:373> Added new client (N: 192.168.1.40:60883, T: plain-socket, H: 25, A: disabled)
2016-01-13 17:28:26.080620 <I> <network.c:373> Added new client (N: 127.0.0.1:49523, T: plain-socket, H: 26, A: disabled)
2016-01-13 17:28:44.106513 <I> <client.c:220> Client (N: 127.0.0.1:49523, T: plain-socket, H: 26, A: disabled) disconnected by peer
2016-01-13 17:29:32.533394 <I> <client.c:220> Client (N: 192.168.1.40:60883, T: plain-socket, H: 25, A: disabled) disconnected by peer
2016-01-13 17:29:32.533780 <W> <client.c:381> Destroying client (N: 192.168.1.40:60883, T: plain-socket, H: 25, A: disabled) while 1 request(s) are still pending
2016-01-13 17:29:33.533987 <W> <zombie.c:96> Destroying zombie (id: 6) while 1 request(s) are still pending
2016-01-13 23:58:05.188141 <E> <red_rs485_extension.c:370> Send verification failed
2016-01-13 23:58:05.202755 <E> <red_rs485_extension.c:370> Send verification failed
2016-01-14 01:48:03.064621 <E> <red_rs485_extension.c:370> Send verification failed
2016-01-14 01:48:03.078639 <E> <red_rs485_extension.c:370> Send verification failed

2016-01-13 17:27:29.542519 <I> <network.c:373> Added new client (N: 192.168.1.40:60875, T: plain-socket, H: 26, A: disabled)
2016-01-13 17:27:34.211817 <I> <client.c:220> Client (N: 192.168.1.40:60875, T: plain-socket, H: 26, A: disabled) disconnected by peer
2016-01-13 17:27:34.211991 <W> <client.c:381> Destroying client (N: 192.168.1.40:60875, T: plain-socket, H: 26, A: disabled) while 1 request(s) are still pending
2016-01-13 17:27:35.212141 <W> <zombie.c:96> Destroying zombie (id: 5) while 1 request(s) are still pending
2016-01-13 17:27:36.248623 <I> <network.c:373> Added new client (N: 192.168.1.40:60877, T: plain-socket, H: 26, A: disabled)
2016-01-13 17:27:42.809263 <I> <client.c:220> Client (N: 127.0.0.1:49521, T: plain-socket, H: 25, A: disabled) disconnected by peer
2016-01-13 17:27:46.856486 <I> <network.c:373> Added new client (N: 127.0.0.1:49522, T: plain-socket, H: 25, A: disabled)
2016-01-13 17:28:13.881132 <I> <client.c:220> Client (N: 127.0.0.1:49522, T: plain-socket, H: 25, A: disabled) disconnected by peer
2016-01-13 17:28:19.897407 <I> <client.c:220> Client (N: 192.168.1.40:60877, T: plain-socket, H: 26, A: disabled) disconnected by peer
2016-01-13 17:28:22.118107 <I> <network.c:373> Added new client (N: 192.168.1.40:60883, T: plain-socket, H: 25, A: disabled)
2016-01-13 17:28:26.080620 <I> <network.c:373> Added new client (N: 127.0.0.1:49523, T: plain-socket, H: 26, A: disabled)
2016-01-13 17:28:44.106513 <I> <client.c:220> Client (N: 127.0.0.1:49523, T: plain-socket, H: 26, A: disabled) disconnected by peer
2016-01-13 17:29:32.533394 <I> <client.c:220> Client (N: 192.168.1.40:60883, T: plain-socket, H: 25, A: disabled) disconnected by peer
2016-01-13 17:29:32.533780 <W> <client.c:381> Destroying client (N: 192.168.1.40:60883, T: plain-socket, H: 25, A: disabled) while 1 request(s) are still pending
2016-01-13 17:29:33.533987 <W> <zombie.c:96> Destroying zombie (id: 6) while 1 request(s) are still pending
2016-01-13 23:58:05.188141 <E> <red_rs485_extension.c:370> Send verification failed
2016-01-13 23:58:05.202755 <E> <red_rs485_extension.c:370> Send verification failed
2016-01-14 01:48:03.064621 <E> <red_rs485_extension.c:370> Send verification failed
2016-01-14 01:48:03.078639 <E> <red_rs485_extension.c:370> Send verification failed

...[/quote]

ethernet funktioniert auch nicht mehr obwohl die grüne led brav blinkt & wenn ich über den mini-usb an die serielle console will um nachzusehen, so höre die leds auf zu blinken und das wars ...

die einzige forschungsmöglichkeit ist nachträglich das log anzusehen ;-((

startup sieht in etwa so aus :

Quote
2016-01-16 20:18:05.473927 <I> <main_linux.c:281> Brick Daemon 2.2.1~hf2+redbrick started (daemonized)
2016-01-16 20:18:07.166600 <I> <red_extension.c:598> Found Ethernet Extension at position 0
2016-01-16 20:18:07.663515 <I> <red_stack.c:531> SPI stack slave discovery done. Found 0 slave(s) with 0 UID(s) in total
2016-01-16 20:18:14.882619 <I> <red_extension.c:584> Found RS485 Extension at position 1
2016-01-16 20:18:14.882813 <I> <red_rs485_extension.c:904> Initializing extension subsystem
2016-01-16 20:18:14.883174 <I> <red_rs485_extension.c:304> Baudrate configured = 50000, Effective baudrate = 50000.000000
2016-01-16 20:18:14.883370 <I> <red_rs485_extension.c:333> Serial interface initialized
2016-01-16 20:18:14.883408 <I> <red_rs485_extension.c:647> Initialized RS485 RXE state
2016-01-16 20:18:14.883497 <I> <red_rs485_extension.c:998> Initialized as master
2016-01-16 20:18:14.896523 <I> <redapid.c:309> Connected to RED Brick API Daemon
2016-01-16 20:18:14.896882 <I> <red_stack.c:552> Starting reinitialization of SPI slaves
...

---

2) generell (auch wenn der obige fehler noch nicht aufgetreten ist) gibt es ein problem über usb von windows-7 aus über den mini-usb an die serielle console hernazukommen :

das gerät wird nicht erkannt & im devicemanager verbleibt ein unerkanntes gerät

neuinstallation vom brickviewer/brickdaemon am windows-7 hat (noch) nicht geholfen ...

---

was kann ich da nun tun ?

lg
w




8
hallo !!!

soweit ich sehe ist der schmuck von da in /etc/nagios3/conf.d/tinkerforge.cfg ... und das zauberprogramm ist /usr/locl/bin/check_tinkerforge.py

ich möchte z.b. so etwas implementieren :

root@r0:/usr/local/bin# diff check_tinkerforge.py check_tinkerforge.py.ORI
6d5
< from tinkerforge.bricklet_industrial_digital_in_4 import IndustrialDigitalIn4
15d13
< BRICKLET_IND4IN        = 'ind4in'
74,87c72
<     if bricklet == BRICKLET_IND4IN:
<         bricklet_ind4in = IndustrialDigitalIn4(uid, ipcon)
<         try:
<             reading = bricklet_ind4in.get_value()
<         except:
<             handle_result(MESSAGE_CRITICAL_ERROR_READING_VALUE,
<                           RETURN_CODE_CRITICAL)
<         if reading == critical:
<             handle_result(MESSAGE_OK_READING % reading,
<                           RETURN_CODE_OK)
<         else:
<             handle_result(MESSAGE_CRITICAL_NO_PTC_CONNECTED,
<                           RETURN_CODE_CRITICAL)
<     elif bricklet == BRICKLET_PTC24 or bricklet == BRICKLET_PTC3:
---
>     if bricklet == BRICKLET_PTC24 or bricklet == BRICKLET_PTC3:

WO SIND NOCH MODIFIKATIONEN ZU TÄTIGEN, DAMIT DAS AUCH SINNVOLL im brickviewer dargestellt werden kann bzw.
dass dieses

# Edited by PyNag on Thu May  7 18:29:23 2015
nicht destruktiv wirksam ist ???

wo entscheidet pydiag was geht und was nicht ?
wo wird das im viewer entschieden welche plugins bekannt sind und wie gehandelt werden ???


oder muss ich das in ein eigenes conf.d/xxx.cfg auslagern und
FRAGEN ÜBER FRAGEN ;-)

lgwp

10
Hardware / load cell bricklet - wann ?
« on: April 23, 2015, 17:54:06 »
hallo liebe tinkerer !

habe momentan serielle waagen im einsatz und das ist ziemlich bullshit die immer zu pollen und sie stellen einen erheblichen fremdkörper dar in meinen pythongeservten sensoruniversen die ich ausschliesslich mit tf abdecke ...

daher die lästige, aber für mich wichtige frage :

wann ist die tf-waage aka "load cell bricklet" operativ einsetzbar ?

würde mich auch mit einem prototypen begnügen bzw. eichung ist sekundär, da es um relative zuwächse (pro tag) geht. zielgewicht ist : ein bienenstock ;-)

lg
wolfgang

11
hi leute !

grossartige arbeit, kann mir nichts besseres vorstellen für das wot (web of things) zumal man zumindest sowas wie openwrt sowieso braucht um komplexere dinge abzuhandeln IMHO
die idee wirklich alles in einen micro zu schaufeln halte ich schlicht für sinnlos IMHO

aber zum topic !

wenn tinkerforge wirklich toll sein soll, so denke ich dass folgendes sinnvoll wäre :

1) I2C-interface BRICKLET (der der die schon im forum angesprochenen KOMPLIZIEREN DINGE wie timings usw. löst) mit dem arduino-hardware angesteuert wird

2) ein arduino-library dazu womit dann all diese netten dinger dann per spezialsketch von tf aus angesteuert werden

am besten gleich als arduino piggy-board

nutzen : ein vollkommen erschlossenes hardware-universum würde neu hinzukommen zu tf & tf müsste nicht alles neu erfinden & wir müssten nicht so lange darauf warten ...

schaden : der ev. verdienstentgang von tf auf der brickletseite ...

meinungen ?
danke
wp

Pages: [1]