What Mean Interface "With Issues" Field?

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
sidney1
Posts: 3
Joined: Sun Sep 22, 2013 9:53 pm

What Mean Interface "With Issues" Field?

Post by sidney1 »

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 3681 times
inoujk
Posts: 6
Joined: Wed Sep 18, 2013 10:24 am

Re: What Mean Interface "With Issues" Field?

Post by inoujk »

in file "mactrack_view_interfaces.php" :

Code: Select all

	} 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")
sidney1
Posts: 3
Joined: Sun Sep 22, 2013 9:53 pm

Re: What Mean Interface "With Issues" Field?

Post by sidney1 »

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.
inoujk
Posts: 6
Joined: Wed Sep 18, 2013 10:24 am

Re: What Mean Interface "With Issues" Field?

Post by inoujk »

i don't understand the question, sorry ^^

you want to delete all records of this table to refresh you data ?
sidney1
Posts: 3
Joined: Sun Sep 22, 2013 9:53 pm

Re: What Mean Interface "With Issues" Field?

Post by sidney1 »

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 3645 times
jamesfrank
Posts: 1
Joined: Fri Jan 30, 2015 2:07 am

Re: What Mean Interface "With Issues" Field?

Post by jamesfrank »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests