Re: [collectd] SNMP plugin possible syntax error

2016-07-24 Thread Giovanni Torres
Looks ok on the surface and the MIBs do resolve.  Does the collectd log
share any info?  If not, try temporarily bumping up the loglevel to debug
and see if the logs provide any clues.  (You would have had to compiled
with debug enabled.)

If you wanted to dig deeper, you could run a tcpdump on one of the remote
hosts, "" for example, and verify that the host is actually returning
values for the CPU metrics.  That way, you can rule out snmp on those hosts
and focus on collectd server side.

Hope that helps.

Giovanni

On Fri, Jul 22, 2016 at 11:30 AM Jerry Lombardo  wrote:

> None of the CPU metrics are working,  the rest including load are working.
> Anyone have advice on how to troubleshoot this?   I'm able walk the
> metric,  I'm sure it's a syntax error somewhere.
>
>
>
>
> 
>
> 
> Type "voltage"
> Table false
> Instance ""
>Values "SNMPv2-SMI::enterprises.2021.255.15.2"
>
> 
> Type "load"
> Table false
> Values "UCD-SNMP-MIB::laLoadInt.1"
> "UCD-SNMP-MIB::laLoadInt.2" "UCD-SNMP-MIB::laLoadInt.3"
> Scale 0.01
> 
> 
> Type "cpu"
> Table false
> Instance "user_raw"
> Values "UCD-SNMP-MIB::ssCpuRawUser.0"
> 
> 
> Type "cpu"
> Table false
> Instance "system_raw"
> Values "UCD-SNMP-MIB::ssCpuRawSystem.0"
> 
> 
> Type "cpu"
> Table false
> Instance "idle_raw"
> Values "UCD-SNMP-MIB::ssCpuRawIdle.0"
> 
> 
> Type "cpu"
> Table false
> Instance "wait_raw"
> Values "UCD-SNMP-MIB::ssCpuRawWait.0"
> 
> 
> Type "cpu"
> Table false
> Instance "nice_raw"
> Values "UCD-SNMP-MIB::ssCpuRawNice.0"
> 
> 
> Type "cpu"
> Table false
> Instance "kernel_raw"
> Values "UCD-SNMP-MIB::ssCpuRawKernel.0"
> 
> 
> Type "memory"
> Table false
> Instance "total_real"
> Values "UCD-SNMP-MIB::memTotalReal.0"
> 
> 
> Type "memory"
> Table false
> Instance "avail_real"
> Values "UCD-SNMP-MIB::memAvailReal.0"
> 
>
>
> 
> Type "if_octets"
> Table true
> Instance "IF-MIB::ifDescr"
> Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
>
>
>
> Type "if_packets"
> Table true
> Instance "IF-MIB::ifName"
> Values "IF-MIB::ifHCInUcastPkts" "IF-MIB::ifHCOutUcastPkts"
>
>
>
>
>
> ###HOSTS###
>
>
> 
>   Address "1.1.1.1"
>   Version 2
>   Community "string"
>   Collect "std_traffic" "ifmib_if_packets64"  "linux_cpu_user_raw"
> "linux_cpu_idle_raw" "linux_cpu_system_raw" "linux_cpu_wait_raw"
> "linux_cpu_nice_raw" "linux_cpu_kernel_raw" "linux_mem_total"
> "linux_mem_avail" "linux_load"
> 
>
> 
>   Address "1.1.1.1"
>   Version 2
>   Community "string"
>   Collect "std_traffic" "ifmib_if_packets64"  "linux_cpu_user_raw"
> "linux_cpu_idle_raw" "linux_cpu_system_raw" "linux_cpu_wait_raw"
> "linux_cpu_nice_raw" "linux_cpu_kernel_raw" "linux_mem_total"
> "linux_mem_avail" "linux_load"
> 
> 
>   Address "1.1.1.1"
>   Version 2
>   Community "string"
>   Collect "std_traffic" "ifmib_if_packets64"  "linux_cpu_user_raw"
> "linux_cpu_idle_raw" "linux_cpu_system_raw" "linux_cpu_wait_raw"
> "linux_cpu_nice_raw" "linux_cpu_kernel_raw" "linux_mem_total"
> "linux_mem_avail" "linux_load"
> 
> 
>   Address "1.1.1.1"
>   Version 2
>   Community "string"
>   Collect "std_traffic" "ifmib_if_packets64"  "linux_cpu_user_raw"
> "linux_cpu_idle_raw" "linux_cpu_system_raw" "linux_cpu_wait_raw"
> "linux_cpu_nice_raw" "linux_cpu_kernel_raw" "linux_mem_total"
> "linux_mem_avail" "linux_load"
> 
>
>
> ___
> collectd mailing list
> collectd@verplant.org
> https://mailman.verplant.org/listinfo/collectd
>
___
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd

[collectd] SNMP plugin possible syntax error

2016-07-22 Thread Jerry Lombardo
None of the CPU metrics are working,  the rest including load are working.
Anyone have advice on how to troubleshoot this?   I'm able walk the
metric,  I'm sure it's a syntax error somewhere.







Type "voltage"
Table false
Instance ""
   Values "SNMPv2-SMI::enterprises.2021.255.15.2"
   

Type "load"
Table false
Values "UCD-SNMP-MIB::laLoadInt.1"
"UCD-SNMP-MIB::laLoadInt.2" "UCD-SNMP-MIB::laLoadInt.3"
Scale 0.01


Type "cpu"
Table false
Instance "user_raw"
Values "UCD-SNMP-MIB::ssCpuRawUser.0"


Type "cpu"
Table false
Instance "system_raw"
Values "UCD-SNMP-MIB::ssCpuRawSystem.0"


Type "cpu"
Table false
Instance "idle_raw"
Values "UCD-SNMP-MIB::ssCpuRawIdle.0"


Type "cpu"
Table false
Instance "wait_raw"
Values "UCD-SNMP-MIB::ssCpuRawWait.0"


Type "cpu"
Table false
Instance "nice_raw"
Values "UCD-SNMP-MIB::ssCpuRawNice.0"


Type "cpu"
Table false
Instance "kernel_raw"
Values "UCD-SNMP-MIB::ssCpuRawKernel.0"


Type "memory"
Table false
Instance "total_real"
Values "UCD-SNMP-MIB::memTotalReal.0"


Type "memory"
Table false
Instance "avail_real"
Values "UCD-SNMP-MIB::memAvailReal.0"




Type "if_octets"
Table true
Instance "IF-MIB::ifDescr"
Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
   

   
Type "if_packets"
Table true
Instance "IF-MIB::ifName"
Values "IF-MIB::ifHCInUcastPkts" "IF-MIB::ifHCOutUcastPkts"
   




###HOSTS###



  Address "1.1.1.1"
  Version 2
  Community "string"
  Collect "std_traffic" "ifmib_if_packets64"  "linux_cpu_user_raw"
"linux_cpu_idle_raw" "linux_cpu_system_raw" "linux_cpu_wait_raw"
"linux_cpu_nice_raw" "linux_cpu_kernel_raw" "linux_mem_total"
"linux_mem_avail" "linux_load"



  Address "1.1.1.1"
  Version 2
  Community "string"
  Collect "std_traffic" "ifmib_if_packets64"  "linux_cpu_user_raw"
"linux_cpu_idle_raw" "linux_cpu_system_raw" "linux_cpu_wait_raw"
"linux_cpu_nice_raw" "linux_cpu_kernel_raw" "linux_mem_total"
"linux_mem_avail" "linux_load"


  Address "1.1.1.1"
  Version 2
  Community "string"
  Collect "std_traffic" "ifmib_if_packets64"  "linux_cpu_user_raw"
"linux_cpu_idle_raw" "linux_cpu_system_raw" "linux_cpu_wait_raw"
"linux_cpu_nice_raw" "linux_cpu_kernel_raw" "linux_mem_total"
"linux_mem_avail" "linux_load"


  Address "1.1.1.1"
  Version 2
  Community "string"
  Collect "std_traffic" "ifmib_if_packets64"  "linux_cpu_user_raw"
"linux_cpu_idle_raw" "linux_cpu_system_raw" "linux_cpu_wait_raw"
"linux_cpu_nice_raw" "linux_cpu_kernel_raw" "linux_mem_total"
"linux_mem_avail" "linux_load"



___
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd