Solaris Zones SNMP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
oslec
Posts: 55
Joined: Mon Jan 14, 2013 5:19 pm

Solaris Zones SNMP

Post by oslec »

Hi,

I have problems monitoring SNMP Interfaces Statistics in Solaris Zones, the octects always in 0.

Anyone have the same problem ?

Regards!
Sergio
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Solaris Zones SNMP

Post by sreinhardt »

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.
oslec
Posts: 55
Joined: Mon Jan 14, 2013 5:19 pm

Re: Solaris Zones SNMP

Post by oslec »

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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Solaris Zones SNMP

Post by tmcdonald »

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
oslec
Posts: 55
Joined: Mon Jan 14, 2013 5:19 pm

Re: Solaris Zones SNMP

Post by oslec »

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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Solaris Zones SNMP

Post by abrist »

oslec wrote:[root@ixtnua1 libexec]# snmpwalk -c "C&rG1ngM@g3R" 10.191.46.142 -v2c | grep Octets
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 . . .
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.
Locked