[racktables-users] Re: SNMP plugin import the first 100 port only

  • From: Maik Ehinger <m.ehinger@xxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Wed, 6 Apr 2016 09:41:10 +0200

Hi Wolfgang,

added a hint to max_input_vars in snmpgeneric.php.

Thanks,
Maik




Von:    "Vater, Wolfgang" <wolfgang.vater@xxxxxxxxxxxxx>
An:     Maik Ehinger <m.ehinger@xxxxxxx>
Kopie:  "racktables-users@xxxxxxxxxxxxx" <racktables-users@xxxxxxxxxxxxx>
Datum:  06.04.2016 09:07
Betreff:        [racktables-users] Re: SNMP plugin import the first 100 
port only
Gesendet von:   racktables-users-bounce@xxxxxxxxxxxxx



Hi Maik,
 
Max_input_vars was not enabled, and I had to increase the value from the 
default 1000 to 10000. But now I can import all ports in one go. Many 
thanks!
 
Wolfgang
 
 
From: Maik Ehinger [mailto:m.ehinger@xxxxxxx] ;
Sent: Tuesday, April 5, 2016 16:48
To: Vater, Wolfgang <wolfgang.vater@xxxxxxxxxxxxx>
Cc: racktables-users@xxxxxxxxxxxxx
Subject: RE: RE: [racktables-users] SNMP plugin import the first 100 port 
only 
 
Hi Wolfgang, 

could you try "max_input_vars" in php.ini? 

Regards, 
Maik 




Von:        "Vater, Wolfgang" <wolfgang.vater@xxxxxxxxxxxxx> 
An:        Maik Ehinger <m.ehinger@xxxxxxx>, "
racktables-users@xxxxxxxxxxxxx" <racktables-users@xxxxxxxxxxxxx> 
Datum:        05.04.2016 16:32 
Betreff:        RE: [racktables-users] SNMP plugin import the first 100 
port only 




Hi Maik, 
  
Sorry, had no time to deal with this in between. 
  
I doubled the value for post_max_size from 8M to 16M, but that didn’t 
change anything for the first import. I imported 99 ports. The second 
import added another 60 ports, third import added 26 ports and any 
subsequent run added another 11 ports only. Took me a while to import all 
ports, but then this is not something done every day. 
  
I also figured out why I do not get any IP-addresses from my Cisco Nexus 
3000 and Cisco Nexus 5000 switches. By default SNMP tries to read the 
IP-table from the VRF default. But I don’t use that VRF, means I have no 
IP-interface in this VRF so SNMP return that the OID for the IP-table 
doesn’t exist. 
  
There is a way to configure the Nexus switches to use a different VRF, but 
then you only get IP-interfaces in that VRF and your generic SNMP sync 
plugin reads these IP-addresses correct. Something like “sh hip int br vrf 
all” which shows all IP-interfaces across all VRFs doesn’t work with SNMP 
it seems, or Cisco is storing this in another OID that I haven’t found 
yet. 
  
Wolfgang 
  
  
From: Maik Ehinger [mailto:m.ehinger@xxxxxxx] ;
Sent: Friday, March 4, 2016 13:09
To: racktables-users@xxxxxxxxxxxxx
Cc: Vater, Wolfgang <wolfgang.vater@xxxxxxxxxxxxx>
Subject: RE: [racktables-users] SNMP plugin import the first 100 port only 

  
Hi Wolfgang, 

do you mean the SNMPgeneric Plugin? 

You could try to set a bigger value for "post_max_size" in your php.ini 
and see if that helps. 

Did the plugin add the next 100 if you run it again? Because already 
existing ports are ignored. 

Regards, 
Maik 



Von:        "Vater, Wolfgang" <wolfgang.vater@xxxxxxxxxxxxx> 
An:        "racktables-users@xxxxxxxxxxxxx" <
racktables-users@xxxxxxxxxxxxx> 
Datum:        02.03.2016 15:09 
Betreff:        [racktables-users] SNMP plugin import the first 100 port 
only 
Gesendet von:        racktables-users-bounce@xxxxxxxxxxxxx 





Hi, 
 
I’m a happy user of the SNMP plugin to import my configurations. Great 
tool. 
 
I have just setup new Nexus 5000 (5596UP) with 18 fex modules (means the 
switch has close to 850 ports). Whenever I try to import the ports, the 
first roughly 100 are added only. Is there a limitation to the number of 
ports that can be imported? Can this be configured somewhere? 
 
Many thanks 
Wolfgang 
 
 
Wolfgang Vater | Lead Client Architect | Enterprise Services 
Unisys Enterprise Services GmbH | +49 162 255 9338 | 
wolfgang.vater@xxxxxxxxxx 
Am Unisyspark 1 | 65843 Sulzbach/Ts. 
 

 
Unisys Enterprise Services GmbH | Geschäftsführer: Dr. Uwe Heckert | Sitz 
der Gesellschaft: Hattersheim | Amtsgericht: Frankfurt/Main HRB  73114 
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you 
received this in error, please contact the sender and delete the e-mail 
and its attachments from all computers. 
DIESE E-MAIL IST AUSSCHLIESSLICH FÜR DEN ADRESSATEN BESTIMMT UND KANN 
VERTRAULICHE INFORMATIONEN ENTHALTEN. Sollten Sie nicht der Adressat 
dieser Informationen sein, bitten wir Sie, sich mit dem Absender in 
Verbindung zu setzen und die Informationen von Ihren Endgeräten zu 
entfernen. 
   
 


PNG image

JPEG image

JPEG image

JPEG image

JPEG image

JPEG image

JPEG image

Other related posts: