Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Jul 21, 2017 6:02 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: What Mean Interface "With Issues" Field?
PostPosted: Sun Sep 22, 2013 10:19 pm 
Offline

Joined: Sun Sep 22, 2013 9:53 pm
Posts: 3
mactrack->Interfaces->filters->With Issues

Now, I already install mactrack and can see all of the switch interface.
In the Interfaces page, and have Filters field, it include All interfaces, With Issues, Errors Accumulating etc.
When I choose With Issues, I can see a lof of interfaces and I check switch status is OK.

I guest it mean "Out Disc Total" have issues, but I choose another field, like "up interface",
I can see another interface have big number in "Out Disc", so I guest it can't mean "Out Disc".

In the google, I can't find any document, Can any one tell me what means "with issues"?

Thanks.


Attachments:
WithIssue.png
WithIssue.png [ 63.22 KiB | Viewed 2660 times ]
Top
 Profile  
 
 Post subject: Re: What Mean Interface "With Issues" Field?
PostPosted: Tue Sep 24, 2013 2:50 am 
Offline

Joined: Wed Sep 18, 2013 10:24 am
Posts: 6
in file "mactrack_view_interfaces.php" :

Code:
   } elseif ($_REQUEST["issues"] == "-3") { // Non Ignored Interfaces
      $sql_where .= (strlen($sql_where) ? " AND " : "WHERE ") . $ignore;
...
   } elseif ($_REQUEST["issues"] == "-1") { // With Issues
      $sql_where .= (strlen($sql_where) ? " AND " : "WHERE ") . "((int_errors_present=1 OR int_discards_present=1) AND $ignore)";
...
   } elseif ($_REQUEST["issues"] == "2") { // Errors Up
      $sql_where .= (strlen($sql_where) ? " AND " : "WHERE ") . "(int_errors_present=1 AND $ignore)";
   } elseif ($_REQUEST["issues"] == "3") { // Discards Up
      $sql_where .= (strlen($sql_where) ? " AND " : "WHERE ") . "(int_discards_present=1 AND $ignore)";


it seem to be a filter like ("errors up" or "discards up")


Top
 Profile  
 
 Post subject: Re: What Mean Interface "With Issues" Field?
PostPosted: Tue Sep 24, 2013 4:14 am 
Offline

Joined: Sun Sep 22, 2013 9:53 pm
Posts: 3
I see the mactrack database(mac_track_interfaces), it have a lot of fields and it can't disappear in the cacti.
I guest it may another check plan in it.
Thanks for your help.


Top
 Profile  
 
 Post subject: Re: What Mean Interface "With Issues" Field?
PostPosted: Tue Sep 24, 2013 6:57 am 
Offline

Joined: Wed Sep 18, 2013 10:24 am
Posts: 6
i don't understand the question, sorry ^^

you want to delete all records of this table to refresh you data ?


Top
 Profile  
 
 Post subject: Re: What Mean Interface "With Issues" Field?
PostPosted: Tue Sep 24, 2013 10:03 pm 
Offline

Joined: Sun Sep 22, 2013 9:53 pm
Posts: 3
Sorry, I can't write detaile.

Your reply give me a lot of help. Through this code, I found the data save in the table(mac_track_interfaces).
In the database, "With Issues" mean "int_ifInErrors" or "int_ifDiscards".

But mactrack in cacti display only In Error Total and In Disc Total, not the same "int_ifInErrors" or "int_ifDiscards".
So "With Issues" depend database "int_ifInErrors" or "int_ifDiscards".

But I don't know where is data from "int_ifInErrors" or "int_ifDiscards".

In this picture, I export data from cacti table(mac_track_interfaces).


Attachments:
WithIssue_db.png
WithIssue_db.png [ 56.91 KiB | Viewed 2624 times ]
Top
 Profile  
 
 Post subject: Re: What Mean Interface "With Issues" Field?
PostPosted: Fri Jan 30, 2015 2:47 am 
Offline

Joined: Fri Jan 30, 2015 2:07 am
Posts: 1
But mactrack in cacti display only In Error Total and In Disc Total, not the same "int_ifInErrors" or "int_ifDiscards".
So "With Issues" depend database "int_ifInErrors" or "int_ifDiscards".

But I don't know where is data from "int_ifInErrors" or "int_ifDiscards".

In this picture, I export data from cacti table(mac_track_interfaces).



___________________________________________________
http://www.learnspanishtoday.com
http://www.eli.ufl.edu/
https://www.mtholyoke.edu/acad/intrel/orwell46.htm


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group