Errors and Discards columns are not refreshed

Started by Leonardo

Leonardo

Errors and Discards columns are not refreshed   10 June 2024, 19:25

Hi

I deleted the switch port statistics via telnet, but when I rescan with SPMapper, the data in the "errors" and "discards" columns is not reset.
Am I doing something wrong?

Thanks and best regards
SoftPerfect Support forum - Andrew avatar image

Re: Errors and Discards columns are not refreshed   10 June 2024, 20:38

I am not quite sure. Most likely when you reset the statistics, the data exposed via SNMP is either not updated, or updated with a delay (say once a minute).

You can test it any SNMP browser, like SnmpB. Enter your switch's IP address and community and walk down the ifEntry OID. It will then display all the current interface details and statistics:

SoftPerfect support forum
Leonardo

Re: Errors and Discards columns are not refreshed   10 June 2024, 22:44

Hi

I tried the program you indicated, I confirm that it reads the 2 ports (8 and 9) correctly, that is without errors and discards.
To be sure that the program works I left port 16 with errors, and in fact it is indicated correctly.
I redid the scan but it continues to display the old data, I have the doubt that this info is written in the db then does not update it in subsequent scans.
Could it be because I am using the standalone program?

thanks
SoftPerfect Support forum - Andrew avatar image

Re: Errors and Discards columns are not refreshed   11 June 2024, 09:51

Sorry, that's not something we can reproduce. Any displayed information is not cached or stored in a database, so a rescan should always fetch the latest data.

Here, I have scanned a NAS device that had a number of recorded discards on its port eth0:

SoftPerfect support forum

Then, I rebooted the device to clear the counters, rescanned it again, and the counters have been reset:

SoftPerfect support forum

Perhaps you could try restarting the Port Mapper application and/or the switch to see if that changes anything?

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 ********   **     **  **         ******   **    ** 
 **     **  **     **  **        **    **   **  **  
 **     **  **     **  **        **          ****   
 ********   **     **  **        **           **    
 **     **  **     **  **        **           **    
 **     **  **     **  **        **    **     **    
 ********    *******   ********   ******      **    

Message: