Graph templat for interrupts/context switching

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
thierry.chich
Posts: 24
Joined: Tue Jun 14, 2005 7:58 am

Graph templat for interrupts/context switching

#1 Post by thierry.chich » Wed Jun 22, 2005 5:15 am

If someone is interested... These two graphs give the information you got with vmstat
Attachments
intCS.png
intCS.png (5.11 KiB) Viewed 16309 times
cacti_graph_template_ucdnet_context_switchesinterrupt.xml
(14.79 KiB) Downloaded 2281 times

changsung
Posts: 17
Joined: Wed Feb 21, 2007 10:26 am
Contact:

No data point on the graph

#2 Post by changsung » Wed Feb 21, 2007 10:31 am

I download it and import the templete yesterday.
The collect the data for a day.
But no data.
I am collecting from Soalris10 and Linux 2.6 Redhat.
Can you tell me how to trouble shoot this?

User avatar
gandalf
Developer
Posts: 22375
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

#3 Post by gandalf » Thu Feb 22, 2007 3:31 pm

Please find the OIDs used in the XML file. Run snmpwalk against those OIDs to verify, that your target responds to those SNMP requests
Reinhard

Rael
Cacti User
Posts: 129
Joined: Thu Apr 05, 2007 9:28 am

#4 Post by Rael » Fri Oct 19, 2007 2:06 pm

Both OID's are working, but graph is not showing anything

eccws531:/usr/local/bin # snmpwalk -c FUSELINUX -v1 localhost .1.3.6.1.4.1.2021.11.60.0
Cannot find module (umslmsensor): At line 0 in (none)
UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 4294967295
eccws531:/usr/local/bin # snmpwalk -c FUSELINUX -v1 localhost .1.3.6.1.4.1.2021.11.59.0
Cannot find module (umslmsensor): At line 0 in (none)
UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 4294967295

Rael
Cacti User
Posts: 129
Joined: Thu Apr 05, 2007 9:28 am

#5 Post by Rael » Fri Oct 19, 2007 2:29 pm

NM all is well. My box doesn't cs much.

Rael
Cacti User
Posts: 129
Joined: Thu Apr 05, 2007 9:28 am

#6 Post by Rael » Mon Oct 22, 2007 10:02 am

Warning in my cacti log file.

10/22/2007 03:00:12 PM - CACTID: Poller[0] Host[7] DS[1607] WARNING: Result from SNMP not valid. Partial Result: ...

Data source 1607 is the interrupts and 1606 is the context.

Both have errors, but still work.

Any ideas?

JJX
Cacti User
Posts: 402
Joined: Thu Oct 06, 2005 5:03 am

Re: Graph templat for interrupts/context switching

#7 Post by JJX » Fri Sep 14, 2012 4:21 am

I have exactly the same problem!

I can poll the value directly from command line

Code: Select all

snmpwalk a.b.c.d -c snmp-commc -v1 .1.3.6.1.4.1.2021.11.59.0
iso.3.6.1.4.1.2021.11.59.0 = Counter32: 3800938571
snmpwalk a.b.c.d -c snmp-commc -v1  .1.3.6.1.4.1.2021.11.60.0
iso.3.6.1.4.1.2021.11.60.0 = Counter32: 2170697203

Code: Select all

09/14/2012 12:15:12 PM - CMDPHP: Poller[0] Host[282] DS[2583] WARNING: Result from SNMP not valid. Partial Result: U
09/14/2012 12:15:12 PM - CMDPHP: Poller[0] Host[282] DS[2584] WARNING: Result from SNMP not valid. Partial Result: U 
Graphs are not created :(

My cacti version is 0.8.7g
cacti rulez!

Post Reply