[ixpmanager] Aggregate graphs break graphing

Miku, E. Cornelius miku.ec at gmail.com
Sat Jun 11 04:29:42 IST 2016


Hi Barry,

Getting this error now:
Could not interpret switch system description string - most likely because
no platform interpretor exists for it.

Please see this OSS_SNMP page
<https://github.com/opensolutions/OSS_SNMP/wiki/Device-Discovery> and
consider adding one.

Otherwise use the the manual add method
<http://manage.aixp.or.tz/ixp/switch/add>.

Followed and read the OSS_SNMP page but didn't quite get it :(

though I tried adding it under Vendors

-- 
Miku

On Tue, Jun 7, 2016 at 12:15 PM, Barry O'Donovan <barry.odonovan at inex.ie>
wrote:

>
> Miku,
>
> can you edit application/controllers/SwitchController.php and, around line
> 235, replace the following:
>
> // can we talk to it by SNMP and discover some basic details?
> try
> {
>   $snmp = new \OSS_SNMP\SNMP( $f->getValue( 'hostname' ), $f->getValue(
> 'snmppasswd' ) );
>   $vendor = $snmp->getPlatform()->getVendor();
> }
> catch( \OSS_SNMP\Exception $e )
> {
>   $this->addMessage( "Could not query {$f->getValue( 'hostname' )} via
> SNMP.
>     Consider using the <a href=\"" . OSS_Utils::genUrl( 'switch', 'add' )
> . "\">the manual add method</a>.",
>     OSS_Message::ERROR
>   );
>   break;
> }
>
> with just:
>
> $snmp = new \OSS_SNMP\SNMP( $f->getValue( 'hostname' ), $f->getValue(
> 'snmppasswd' ) );
> $vendor = $snmp->getPlatform()->getVendor();
>
>
> This will let the error be thrown and shown on screen or in
> IXP_ROOT/var/log/2016/06/20160607.log (or similar).
>
> Can you then try again and send the logs?
>
>  - Barry
>
> Miku, E. Cornelius wrote:
>
>> See replies in line..
>>
>> --
>> Miku
>>
>> On Mon, Jun 6, 2016 at 7:32 PM, Barry O'Donovan <barry.odonovan at inex.ie
>> <mailto:barry.odonovan at inex.ie>> wrote:
>>
>>
>>     What's the output of:
>>
>>     php -r 'var_dump(function_exists("snmp2_real_walk"));'
>>
>>
>>   bool(true)
>>
>>
>>     Can you query it via SNMP on the command line? Like:
>>
>>
>> ​Yes​
>>
>>
>>     snmpget -c $community -On -v 2c $hostname .
>>
>>
>>     And if so, can you provide the output of:
>>
>>     snmpget -c $community -On -v 2c $hostname .1.3.6.1.2.1.1.1.0
>>
>>
>>   .1.3.6.1.2.1.1.1.0 = STRING: JetStream 24-Port Gigabit L2 Managed
>> Switch with 4 Combo SFP Slots
>>
>>     snmpget -c $community -On -v 2c $hostname .1.3.6.1.2.1.1.2.0
>>
>>
>>   .1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.11863.1.1.3
>>
>>
>> _______________________________________________
>> INEX IXP Manager mailing list
>> ixpmanager at inex.ie
>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>
> --
>
> Kind regards,
> Barry O'Donovan
> INEX Operations
>
> https://www.inex.ie/support/
> +353 1 531 3339
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20160611/41e1b103/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20160611.log
Type: text/x-log
Size: 11314 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20160611/41e1b103/attachment-0001.bin>


More information about the ixpmanager mailing list