Hi,
I have problems monitoring SNMP Interfaces Statistics in Solaris Zones, the octects always in 0.
Anyone have the same problem ?
Regards!
Sergio
Solaris Zones SNMP
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Solaris Zones SNMP
Could you provide more details on what specifically seems to be happening? Are you having issues checking a network interface in one of the zones?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Solaris Zones SNMP
Hi,
Solaris Global Zone (SNMP Enable)
Interface nxge3 Status UP
Interface nxge3 Bandwidth - i can monitor the traffic in and out.
Solaris Zone - SNMP Enable
Interface nxge3:2 (index 4) Status UP
Interface nxge3:2 (index 4) 12.5 MBytes/s Bandwidth always in 0 I cannont monitor the traffic in and out.
Regards!
Solaris Global Zone (SNMP Enable)
Interface nxge3 Status UP
Interface nxge3 Bandwidth - i can monitor the traffic in and out.
Solaris Zone - SNMP Enable
Interface nxge3:2 (index 4) Status UP
Interface nxge3:2 (index 4) 12.5 MBytes/s Bandwidth always in 0 I cannont monitor the traffic in and out.
Regards!
Re: Solaris Zones SNMP
Can you post a screenshot or the actual config you have for this service? We need to see the switches the check is using.
Former Nagios employee
Re: Solaris Zones SNMP
Hi,
This is the check:
$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$
[root@ixtnua1 libexec]# ./check_rrdtraf -f /var/lib/mrtg/10.191.46.142_4.rrd -w 20,20 -c 50,50 -l M
OK - Current BW in: 0Mbps Out: 0Mbps|in=0Mb/s;20;50 out=0Mb/s;20;50
[root@ixtnua1 libexec]# snmpwalk -c "C&rG1ngM@g3R" 10.191.46.142 -v2c | grep Octets
IF-MIB::ifInOctets.1 = Counter32: 0
IF-MIB::ifInOctets.2 = Counter32: 0
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 0
IF-MIB::ifOutOctets.2 = Counter32: 0
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 0
Regards!
Sergio
This is the check:
$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$
[root@ixtnua1 libexec]# ./check_rrdtraf -f /var/lib/mrtg/10.191.46.142_4.rrd -w 20,20 -c 50,50 -l M
OK - Current BW in: 0Mbps Out: 0Mbps|in=0Mb/s;20;50 out=0Mb/s;20;50
[root@ixtnua1 libexec]# snmpwalk -c "C&rG1ngM@g3R" 10.191.46.142 -v2c | grep Octets
IF-MIB::ifInOctets.1 = Counter32: 0
IF-MIB::ifInOctets.2 = Counter32: 0
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 0
IF-MIB::ifOutOctets.2 = Counter32: 0
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 0
Regards!
Sergio
Re: Solaris Zones SNMP
If the actual snmp return is zeros, there is not much that we can do about that as XI requires valid data from your device . . .oslec wrote:[root@ixtnua1 libexec]# snmpwalk -c "C&rG1ngM@g3R" 10.191.46.142 -v2c | grep Octets
Are you sure that you have the correct mib/oid? Have your acquired the vendor documentation and verified that the oids are the correct ones?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.