Welcome, Guest. Please login or register.

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.


Messages - Hannu Liljemark

Pages: 1 2 [3] 4 5 ... 10
31
Definition Files / Cisco 3850 stack def
« on: November 17, 2016, 11:09:48 AM »
Here's a definition for Cisco 3850 stack, 1.3.6.1.4.1.9.1.1745.

Br,
Hannu

32
Definition Files / Re: Def for HP2920 stack
« on: May 06, 2016, 02:01:37 PM »
Ah, okay... gotcha.

So I might just as well poll either 1.3.6.1.2.1.99.1.1.1.4.112001 or .1.3.6.1.2.1.99.1.1.1.4.212001 to get temp from one of the switches in the stack :) At least I'll get some graph :)

Br,
Hannu

33
Definition Files / Re: Fujitsu blade chassis switches
« on: May 02, 2016, 06:18:56 AM »
I'll just reply to my old thread since these switches apparently are soon to be legacy... we inherited few more BX900 chassis which have a lifespan of maybe three more years, so I finally created libcli.pm modifications to take config backups from 1Gb and 10Gb switches:

# Fujitsu Ethernet Connection Blade
# Fujitsu PY CB Eth Switch 1Gb
$cmd{'FujitsuECB'}{'ropr'} = 'GitsDoNid';
$cmd{'FujitsuECB'}{'enpr'} = '[\w+().-]+\s?#\s?$';
$cmd{'FujitsuECB'}{'conf'} = 'show running-config';
$cmd{'FujitsuECB'}{'strt'} = '.';
$cmd{'FujitsuECB'}{'page'} = 'no pager';
# Fujitsu Ethernet 10G Connection Blade
# Fujitsu PY CB Eth Switch/IBP 10Gb
$cmd{'FujitsuE10CB'}{'ropr'} = 'GitsDoNid';
$cmd{'FujitsuE10CB'}{'enpr'} = '[\w+().-]+#\s?$';
$cmd{'FujitsuE10CB'}{'conf'} = 'show running-config';
$cmd{'FujitsuE10CB'}{'strt'} = '.';
$cmd{'FujitsuE10CB'}{'page'} = 'terminal pager disable';

ECB stands for ethernet connection blade. Fujitsu documents also use the term IBP, intelligent blade panel module in the description. I couldn't figure out any better naming than FujitsuECB and FujitsuE10CB.

Br,
Hannu

34
Discovery / Re: 2 APC UPS devices discovered as one
« on: April 03, 2016, 04:13:58 PM »
Does the APC UPS allow you to set a hostname? Both probably have the default hostname now and Nedi uses that to identify a device. It just changes the IP address for the first device when it polls the other device.

Otherwise use nedi.conf's mapna to set a unique name for the other device (or both).

Br,
Hannu

35
Definition Files / Def for HP2920 stack
« on: April 01, 2016, 04:21:58 PM »
Hey

Def file for 1.3.6.1.4.1.11.2.3.7.8.5.3, aka "The authoritative identifier for the HP stack of 2920 series switches. The stack can include devices like hpSwitchJ9726, hpSwitchJ9727, hpSwitchJ9728, hpSwitchJ9729."

I took a copy of 1.3.6.1.4.1.11.2.3.7.8.5.2.def and tried to modify the CPUutl and Temp. Again I'm puzzled why I get:

$ snmpwalk -c foo -v2c 1.2.3.4 .1.3.6.1.2.1.99.1.1.1.4
SNMPv2-SMI::mib-2.99.1.1.1.4.111001 = INTEGER: 0
SNMPv2-SMI::mib-2.99.1.1.1.4.111002 = INTEGER: 0
SNMPv2-SMI::mib-2.99.1.1.1.4.111003 = INTEGER: 0
SNMPv2-SMI::mib-2.99.1.1.1.4.112001 = INTEGER: 28
SNMPv2-SMI::mib-2.99.1.1.1.4.211001 = INTEGER: 0
SNMPv2-SMI::mib-2.99.1.1.1.4.211002 = INTEGER: 0
SNMPv2-SMI::mib-2.99.1.1.1.4.211003 = INTEGER: 0
SNMPv2-SMI::mib-2.99.1.1.1.4.212001 = INTEGER: 24

But this doesn't work:

Temp    1.3.6.1.2.1.99.1.1.1.4N

Br,
Hannu

36
Discovery / Re: Device name + FQDN and Neighbor name truncation
« on: March 25, 2016, 12:21:29 PM »
Does it help if you map the name in nedi.conf with a mapna line?

Br,
Hannu

37
GUI / Re: Device Write command fails
« on: February 02, 2016, 03:33:46 PM »
I haven't tried Nedio, but can you check the permissions of the /var/nedi/cli/cmd_admin file? Maybe the apache user/group doesn't have write permissions to the file...

Br,
Hannu

38
Discovery / Re: Dell powerconnect : backup configuration
« on: January 07, 2016, 04:04:12 PM »
Old thread, but I noticed 3.x.x.x firmware don't support 'terminal length 0' (PowerConnect 6xxx and 8024 switches). Apparently there's no way to disable the paging with this firmware.

PowerConnect 8024F with 5.x.x.x firmware uses 'terminal length 0' to disable paging. 1.4p6 libcli.pm seems to have 'terminal datadump' but perhaps that's okay with some devices and firmwares.

Br,
Hannu

39
Definition Files / Re: 1.3.6.1.4.1.9.1.1856 ciscoC887VaMK9
« on: January 01, 2016, 01:09:38 PM »
Sorry, unfortunately they don't give us cli-access to these particular devices... just snmp-read.

40
Definition Files / Re: SSG-550
« on: December 27, 2015, 08:20:20 PM »
Remo, maybe you can add OS NetScreen to this def? For some reason I didn't have it in the original def. Old beast but there's still few of these production... with OS NetScreen the config backups will work.

Br,
Hannu

41
Definition Files / Extreme Wireless Mobility WM3400
« on: December 27, 2015, 07:27:06 PM »
Looks like I haven't shared this earlier, so here goes. Attached is 1.3.6.1.4.1.1916.2.131.18.def for Extreme Summit WM3400 WLAN Controller. Only limited info via SNMP, afaik.

Here's something that works for config backups in libcli.pm (with the additional Other-Defgen.php tweaks):

# EXTREME Wireless Mobility
$cmd{'XwareWM'}{'ropr'} = '[\w+().-]+>\s?$';
$cmd{'XwareWM'}{'enpr'} = '[\w+().-]+#\s?$';
$cmd{'XwareWM'}{'enab'} = 'enable';
$cmd{'XwareWM'}{'conf'} = 'show running-config';
$cmd{'XwareWM'}{'strt'} = '.';
$cmd{'XwareWM'}{'page'} = 'no page';

Br,
Hannu

42
Definition Files / 1.3.6.1.4.1.9.1.1856 ciscoC887VaMK9
« on: December 26, 2015, 07:45:46 PM »
Another small router managed by an ISP, so I took a copy of cisco887VaM 1.3.6.1.4.1.9.1.1271 def for this 1.3.6.1.4.1.9.1.1856 ciscoC887VaMK9... enjoy!

Br,
Hannu

43
Definition Files / Check Point FW-1 GaiaOS on VMware definition
« on: December 26, 2015, 11:46:18 AM »
The attached 1.3.6.1.4.1.2620.1.6.123.1.48.def is for VMware Edition of Check Point R77 GaiaOS firewall platform.

44
Database / Re: cyclic DB clean up
« on: December 26, 2015, 11:42:18 AM »
Thanks dobst! Brilliant maintenance tool. I guess with 1.4 the nedi.stock table is gone so the script needs some tweaking, but this is a life-saver.

Br,
Hannu

45
Discovery / Re: All devices are showing as CLI Port 0
« on: October 19, 2015, 02:58:25 PM »
Maybe silly question but do you have some kind of usr line in nedi.conf defined with the esxi credentials? Can you do from command line or from GUI the discovery run (with -v parameter, e.g. "/var/nedi/nedi.pl -v -a 1.2.3.4") to see if Nedi is going through the usr lines and to make sure it's not giving any errors regarding SSH access. Post output here if you're still stuck.

Br,
Hannu

Pages: 1 2 [3] 4 5 ... 10