Alias (IF-MIB) field not coming (Same Template)

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
sreehari
Posts: 6
Joined: Thu Mar 18, 2021 5:16 am

Alias (IF-MIB) field not coming (Same Template)

Post by sreehari »

Hi
I have applied the same template to two diffrent Juniper routers. In first one, I am getting all the fields, but in second, I am missing Alias (IF-MIB) field. During debug also no results for ifALias Walk query.....Pls help

No Issue and Issue screenshots attached (Pls refer attach)

Also on issue router, query-ifalias not showing any result

+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd(6)'] index: 1 [from value]
+ Found item [ifType='mplsTunnel(150)'] index: 4 [from value]
Attachments
issue.PNG
issue.PNG (11.3 KiB) Viewed 831 times
no issue.PNG
no issue.PNG (16.56 KiB) Viewed 831 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Alias (IF-MIB) field not coming (Same Template)

Post by Osiris »

Run a verbose query. Likely either they are not set, or the query timed out.
Before history, there was a paradise, now dust.
sreehari
Posts: 6
Joined: Thu Mar 18, 2021 5:16 am

Re: Alias (IF-MIB) field not coming (Same Template)

Post by sreehari »

In verbose, If-Alias query skipped/ No results

+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
sreehari
Posts: 6
Joined: Thu Mar 18, 2021 5:16 am

Re: Alias (IF-MIB) field not coming (Same Template)

Post by sreehari »

Also found below error while executing
[root@l2cacti cli]# php -q poller_reindex_hosts.php --id=8215
WARNING: Do not interrupt this script. Reindexing can take quite some time
..PHP Notice: Undefined index: method in /var/www/html/cacti/lib/data_query.php on line 271
PHP Notice: Undefined index: method in /var/www/html/cacti/lib/data_query.php on line 289
PHP Notice: Undefined index: method in /var/www/html/cacti/lib/data_query.php on line 271
PHP Notice: Undefined index: method in /var/www/html/cacti/lib/data_query.php on line 289

Line no below
271 }else if (($field_array["method"] == "get") && ($field_array["direction"] == "input")) {
289 }else if (($field_array["method"] == "walk") && ($field_array["direction"] == "input")) {

Pls help
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest