Re: problem getting CPU stats working.

"Ian P. Christian" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Ian P. Christian wrote:
> remote_host # snmpwalk -v 2c -c public 10.200.201.15 .1.3.6.1.4.1.2021.11.11
> UCD-SNMP-MIB::ssCpuIdle = No Such Object available on this agent at this OID
>
> # strace -p 3232
>   
There was a bit of exra noise in that first post  - as  I had verbose 
logging on.

# strace -f -p 3249
Process 3249 attached - interrupt to quit
select(7, [4 6], [], [], {3, 970000})   = 0 (Timeout)
gettimeofday({1193930015, 499062}, NULL) = 0
gettimeofday({1193930015, 499131}, NULL) = 0
gettimeofday({1193930015, 499199}, NULL) = 0
open("/proc/stat", O_RDONLY)            = 7
read(7, "cpu  200077 0 244 87576670 1429 "..., 1280) = 1224
close(7)                                = 0
open("/proc/vmstat", O_RDONLY)          = 7
read(7, "nr_anon_pages 1160\nnr_mapped 109"..., 768) = 761
close(7)                                = 0
gettimeofday({1193930015, 499751}, NULL) = 0
gettimeofday({1193930015, 499804}, NULL) = 0
gettimeofday({1193930015, 499853}, NULL) = 0
select(7, [4 6], [], [], {4, 999395})   = 1 (in [6], left {3, 120000})
recvfrom(6, 
"0*\2\1\1\4\6public\241\35\2\4d*s\322\2\1\0\2\1\0000\017"..., 65536, 0, 
{sa_family=AF_INET, sin_port=htons(51671), 
sin_addr=inet_addr("10.200.201.200")}, [16]) = 44
gettimeofday({1193930017, 387273}, NULL) = 0
sendto(6, "0-\2\1\1\4\6public\242 \2\4d*s\322\2\1\0\2\1\0000\0220"..., 
47, 0, {sa_family=AF_INET, sin_port=htons(51671), 
sin_addr=inet_addr("10.200.201.200")}, 16) = 47
gettimeofday({1193930017, 387815}, NULL) = 0
gettimeofday({1193930017, 387902}, NULL) = 0
gettimeofday({1193930017, 387967}, NULL) = 0
select(7, [4 6], [], [], {3, 111297})   = 1 (in [6], left {3, 111297})
recvfrom(6, 
"0*\2\1\1\4\6public\240\35\2\4d*s\323\2\1\0\2\1\0000\017"..., 65536, 0, 
{sa_family=AF_INET, sin_port=htons(51671), 
sin_addr=inet_addr("10.200.201.200")}, [16]) = 44
gettimeofday({1193930017, 388395}, NULL) = 0
sendto(6, "0*\2\1\1\4\6public\242\35\2\4d*s\323\2\1\0\2\1\0000\017"..., 
44, 0, {sa_family=AF_INET, sin_port=htons(51671), 
sin_addr=inet_addr("10.200.201.200")}, 16) = 44
gettimeofday({1193930017, 388666}, NULL) = 0
gettimeofday({1193930017, 388742}, NULL) = 0
gettimeofday({1193930017, 388807}, NULL) = 0



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.