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 - flamingbob

Pages: [1]
1
Discovery / Re: libsnmp.pm
« on: May 30, 2022, 02:35:23 pm »
Thank you. How to solve that? Trying to to fix it in def but IFdesc doesnt seem to alter that much? Got any hints? Strange it still works on some of this nokia 7210 but fails on others.

2
Discovery / libsnmp.pm
« on: March 29, 2022, 04:58:08 pm »
Nedi gives me an error getting interface descriptions on longer types of alliases
IF  :Walking name
IF  :Walking description
ERR :IF Desc No response from remote host "172.25.235.133"
IF  :Walking type

I cant really pinpoint a problem in the code but seems the problem is like this:
iso.3.6.1.2.1.2.2.1.2.35848192 = STRING: "1/1/6, 10/100/Gig Ethernet SFP, \"IT-LAN\""

That would work

iso.3.6.1.2.1.2.2.1.2.35848192 = STRING: "1/1/6, 10/100/Gig Ethernet SFP, \"IT-LAN in a longer string and will fail\""

Now this OID will fail. Seems then the string is longer then 64 chars and will fail

Anyone got any ideas?

Code: [Select]
         if($ifnamO eq $ifdesO){                                                         # Copy IF desc, if used as name
                                %ifde  = %{$r};
                                @ifx = map(substr($_,20), keys %ifde);                                  # cut OIDs down to indexes in 1 step (gotta love perl!)
                        }else{
                                misc::Prt("IF  :Walking description\n");
                                $r = $session->get_entries(-columns => [$ifdesO],@range,@maxrep);
                                $stat{d} = $session->error;
                                if($stat{d}){
                                        misc::Prt("ERR :IF Desc $stat{d}\n","Id");
                                        $warn++;
                                }else{
                                        %ifde = %{$r};
                                        @ifx = map(substr($_,20), keys %ifde);

                                }
                        }
                }

3
General Topics / Re: Remo, are you okay?
« on: January 03, 2022, 11:17:28 am »
Best Wishes for you to.
Hope you will have a very healty good and fun 2022.
Lets hope the problems will be less this year. Glad you are ok.

Pages: [1]