Hello 

Could you issue this command & share the output : show snmp 
stats-response-statistics 

Otherwise, we use telemetry to collect, among other things, interface stats. 

David


-----Message d'origine-----
De : juniper-nsp [mailto:[email protected]] De la part de 
Leon Kramer
Envoyé : lundi 25 mai 2020 18:26
À : [email protected]
Objet : [j-nsp] SNMP very slow on MX10003

Hello,

we meter approximately 500 logical subinterface counters (e.g. ae0.95,
ae0.96, etc) of our Juniper MX10003. While this works it is also too
slow as we fetch the data every 60 seconds.

snmpbulkwalks of IF-MIB::ifHCInOctets and IF-MIB::ifHCOutOctets take
anything from 1 to 180 seconds.

The time it takes increases noticeably as more subinterfaces are configured.

I know Juniper is not known for fast SNMP queries, but is there
anything you can do to increase performance? 500 interfaces should
really not be too much for a fairly new router imho.
We already have some interface filters in place, but apparently they
are not sufficient.

If you think that SNMP is too slow, what alternative can you recommend
for fetching interface counters?

Thank you for your help.


Kind Regards
Leon Kramer


> show version
Model: mx10003
Junos: 18.4R2-S3


> show configuration snmp
interface [ fxp0.0 ];
filter-interfaces {
    interfaces {
        "fe-[0-9]/[0-9]/[0-9]+\.[0-9]+";
        "xe-[0-9]/[0-9]/[0-9]+\.[0-9]+";
        "ge-[0-9]/[0-9]/[0-9]+\.[0-9]+";
        "et-[0-9]/[0-9]/[0-9]+\.[0-9]+";
    }
    all-internal-interfaces;
}
filter-duplicates;
community xxx {
    authorization read-only;
    routing-instance mgmt_junos;
}
community xxx {
    authorization read-only;
    routing-instance mgmt_junos;
}
community xxx {
    authorization read-only;
    routing-instance mgmt_junos;
}
community xxx {
    authorization read-only;
    routing-instance mgmt_junos;
}
routing-instance-access;
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to