Interface problem !

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

Moderators: Developers, Moderators

Post Reply
sirprotos
Posts: 20
Joined: Mon Aug 22, 2005 9:15 pm

Interface problem !

Post by sirprotos »

i've add one cisco router (7200) but i can't add any interface to monitor. is it becouse of there are too many interface or is there anything elase. please help me... a new birth in this cacti stuff ! TQ very much !
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Is it your router? Can you get at the Interface information using "snmpwalk -c <your_community> -v <your_version> <your_hostname>"? If a supplier is providing you services, you may be restricted from accessing that information.

TheWintess
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
sirprotos
Posts: 20
Joined: Mon Aug 22, 2005 9:15 pm

Post by sirprotos »

ok this is the senario. the routers is mine. last time when i add it in MRTG it can be monitored. but when i try to monitor using cacti, it seem that none of the detected interface can be monitored. when i click several inteface to create a graph, all the interface have the same name and no graph where produced. i hope this will help u guys to find out a solution. TQ bro BTW !
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please reindex either using the green circle or "query verbose". Goto create graphs and do a sceen capture. Post that capture.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
sirprotos
Posts: 20
Joined: Mon Aug 22, 2005 9:15 pm

Post by sirprotos »

Ok here is my first screen short :

1) screen short of interfaces
2) screen short when i select 3 of the interface to create a graph
3) graph management screen short

Hope this will help u guys to pin point my problem. Thank You Very Much. :roll:
Attachments
Graph Management
Graph Management
graph_Management.JPG (123.16 KiB) Viewed 1761 times
Created Interface
Created Interface
interface_created.JPG (138.9 KiB) Viewed 1761 times
interfaces
interfaces
interface.JPG (128.7 KiB) Viewed 1761 times
sirprotos
Posts: 20
Joined: Mon Aug 22, 2005 9:15 pm

Post by sirprotos »

more info.... when i try to requery the interface, the browser return me to a blank page of host.php ! and it stays there. hope this will help.
User avatar
lard
Cacti User
Posts: 165
Joined: Wed Jul 20, 2005 10:48 am
Location: UK - Cambridge

Post by lard »

Hi,

Also having the same problem on some devices - did you manage to resolve this at all?

I am currently thinking that this is down to a slow SNMP reply from the devices (showing 300+ ms) and am going to increase PHP timeout....any pointers one what this should be set to?

Thanks,

Lard
---- lard007skype ----
ali_
Posts: 2
Joined: Fri Aug 26, 2005 8:52 am

Post by ali_ »

I have the exact same thing here. The unusual thing is that i have other devices which work perfectly fine. I can monitor CPU usage, but not the interfaces.

Any ideas, as i'm pulling my hair out :wink:

Ali
User avatar
lard
Cacti User
Posts: 165
Joined: Wed Jul 20, 2005 10:48 am
Location: UK - Cambridge

Post by lard »

Hi,

If you snmpwalk the device from the command line and compare this to another device of the same type that is working correctly you will see the difference in response time to walk the entire mib....

The CPU/Memory e.t.c. will come back quite quickly as this is just querying one OID but the interface table will need to be read and takes longer....this will timeout if the device is busy,

In short Cisco boxes prioritise the processes so that IP Input will be a high priority and at the bottom will be SNMP - hence if the device is heavily utilised (or just busy processing packets) then SNMP will take longer - this is the cause on a few of my devices and I followed the instructions to increase SNMP, PHP & other timeout settings and this solved it for all but the slowest to snmpwalk,

Hope this helps,

Lard
---- lard007skype ----
ali_
Posts: 2
Joined: Fri Aug 26, 2005 8:52 am

Interface problem

Post by ali_ »

Lard,

Thanks very much for your reply. I had actually tried increasing the timeouts, but it seems i didn't increase enough! My problem now seems to be fixed thanks to your pointer, however for some of my remote hosts i had to increase the max_execution_time to 300 seconds!

Many thanks for your help!
Ali
Post Reply

Who is online

Users browsing this forum: justprintout and 2 guests