|
|
| Author |
Message |
flipflap Cacti User
Joined: 09 Jul 2005 Posts: 137
|
Posted: Tue Nov 14, 2006 9:06 am Post subject: Cisco interface operational status monitor |
|
|
this will let you know operational status of cisco interface. with this you could monitor interface status via thold
| Description: |
| change "input" to "output" on interface.xml file under snmp_queries folder |
|
| Filesize: |
11.67 KB |
| Viewed: |
26858 Time(s) |

|
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_interface_status.xml |
| Filesize: |
10.6 KB |
| Downloaded: |
1546 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_template_interface_status.xml |
| Filesize: |
7.02 KB |
| Downloaded: |
1154 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_query_snmp_interface_statistics.xml |
| Filesize: |
114.99 KB |
| Downloaded: |
1323 Time(s) |
Last edited by flipflap on Tue Nov 14, 2006 9:17 am; edited 1 time in total |
|
| Back to top |
|
 |
flipflap Cacti User
Joined: 09 Jul 2005 Posts: 137
|
Posted: Tue Nov 14, 2006 9:10 am Post subject: |
|
|
sample output
| Description: |
|
| Filesize: |
51.21 KB |
| Viewed: |
26857 Time(s) |

|
|
|
| Back to top |
|
 |
flipflap Cacti User
Joined: 09 Jul 2005 Posts: 137
|
Posted: Tue Nov 14, 2006 9:14 am Post subject: |
|
|
for threshold
| Description: |
|
| Filesize: |
37.5 KB |
| Viewed: |
26855 Time(s) |

|
|
|
| Back to top |
|
 |
argon0 Cacti User
Joined: 12 Mar 2004 Posts: 238
|
Posted: Thu Dec 21, 2006 4:46 am Post subject: |
|
|
OK, I tried this, but have had no joy... What is the SNMP string you are queying.. Ah I see its in the jpg... Lets see what getif gives me...
WEll getif gives me values of up and down, put WSPingPro gives me 1s and 2s...
So where is the problem...
Must be in the query...
|
|
| Back to top |
|
 |
mullstu
Joined: 05 Jan 2007 Posts: 10
|
Posted: Fri Jan 05, 2007 10:15 am Post subject: Graph Info does not show anything |
|
|
I imported the XML files and then configured my devices, however my graphs are not showing any info. They are created and I can view them, but the current status show 0 for the interface.
Any chance you may know why?
|
|
| Back to top |
|
 |
cwahlin Cacti User
Joined: 10 Oct 2003 Posts: 87
|
Posted: Mon Jan 08, 2007 3:39 am Post subject: |
|
|
I get an error in the log:
CACTID: Host[4] DS[5155] WARNING: Result from SNMP not valid. Partial Result: ...
which seems to cause my graph values to be all 0. Haven't looked any deeper so not sure why this is happening.
/Carl
|
|
| Back to top |
|
 |
argon0 Cacti User
Joined: 12 Mar 2004 Posts: 238
|
Posted: Mon Jan 08, 2007 8:44 am Post subject: |
|
|
| cwahlin - I get the same...
|
|
| Back to top |
|
 |
mullstu
Joined: 05 Jan 2007 Posts: 10
|
Posted: Mon Jan 08, 2007 8:57 am Post subject: |
|
|
Going through my logs this is what I get. It is the same error for each host I am monitoring. Not sure what the cause is.
CMDPHP: Poller[0] Host[29] DS[368] WARNING: Result from SNMP not valid. Partial Result: up(1
One thing I didn't change was the interfae.xml. I left it as input instead of output. Could that be the issue?
|
|
| Back to top |
|
 |
argon0 Cacti User
Joined: 12 Mar 2004 Posts: 238
|
Posted: Mon Jan 08, 2007 9:01 am Post subject: |
|
|
| Could be - doesn't seem to make any difference as far as I can see!
|
|
| Back to top |
|
 |
mullstu
Joined: 05 Jan 2007 Posts: 10
|
Posted: Mon Jan 08, 2007 9:04 am Post subject: |
|
|
| I just made the change. I will post the results soon
|
|
| Back to top |
|
 |
mullstu
Joined: 05 Jan 2007 Posts: 10
|
Posted: Mon Jan 08, 2007 12:28 pm Post subject: |
|
|
| Still no luck. Any ideas?
|
|
| Back to top |
|
 |
flipflap Cacti User
Joined: 09 Jul 2005 Posts: 137
|
Posted: Mon Jan 08, 2007 12:58 pm Post subject: |
|
|
hi, can you import the files below and see what happens.
check the file "interface.xml" you should see this
<ifOperStatus>
<name>Status</name>
<method>walk</method>
<source>value</source>
[b]<direction>output</direction>[/b]
<oid>.1.3.6.1.2.1.2.2.1.8</oid>
</ifOperStatus>
direction should be output.
i use USR to test query the interfaces it returns either 1 or 2. under graph management when you turn debugging on does it say "rrdtool says: ok"?
one more thing under data template --> interface status --> data source type must be "gauge"
hope that helps
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_interface_status.xml |
| Filesize: |
10.6 KB |
| Downloaded: |
1071 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_template_interface_status.xml |
| Filesize: |
7.02 KB |
| Downloaded: |
804 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_data_query_snmp_interface_statistics.xml |
| Filesize: |
115.95 KB |
| Downloaded: |
1121 Time(s) |
|
|
| Back to top |
|
 |
flipflap Cacti User
Joined: 09 Jul 2005 Posts: 137
|
Posted: Mon Jan 08, 2007 1:05 pm Post subject: |
|
|
also check graph template and the drop down thingy, you should see "status" there
| Description: |
|
| Filesize: |
56.57 KB |
| Viewed: |
25709 Time(s) |

|
|
|
| Back to top |
|
 |
mullstu
Joined: 05 Jan 2007 Posts: 10
|
Posted: Mon Jan 08, 2007 1:44 pm Post subject: |
|
|
| I checked all of these and everything is confiurgured and set the way you stated. Not sure why the graphiong piece isn't working
|
|
| Back to top |
|
 |
flipflap Cacti User
Joined: 09 Jul 2005 Posts: 137
|
|
| Back to top |
|
 |
|