Discovery : CPU, Memory, Session usage on Zywall USG #1652

Closed
Calvario opened this Issue Aug 10, 2015 · 10 comments

Projects

None yet

3 participants

@Calvario
Contributor

Hello,

Is it possible to add the following OIDs :

CPU Usage
OID = 1.3.6.1.4.1.890.1.6.22.1.1.0
Return = SNMPv2-SMI::enterprises.890.1.6.22.1.1.0 = INTEGER: 28

Memory Usage
OID = 1.3.6.1.4.1.890.1.6.22.1.2.0
Return = SNMPv2-SMI::enterprises.890.1.6.22.1.2.0 = INTEGER: 60

Active sessions (NAT)
OID = 1.3.6.1.4.1.890.1.6.22.1.6.0
Return = SNMPv2-SMI::enterprises.890.1.6.22.1.6.0 = INTEGER: 135

Firmware version
OID = 1.3.6.1.4.1.890.1.15.3.1.6.0
Return = SNMPv2-SMI::enterprises.890.1.15.3.1.6.0 = STRING: "3.30(AQQ.7)/1.13/2015-01-13 16:30:24"

Thanks.

@laf
Member
laf commented Aug 11, 2015

What OS do these get detected as?

@Calvario
Contributor

The OS is "Zywall"

@Calvario
Contributor

Thanks for the pull.
But i didn't see the active session number in your pull.
It can't be added ?

@laf
Member
laf commented Aug 11, 2015

It can, I just wanted to get the simple stuff sorted first.

@Calvario
Contributor

@laf,

Ok no problem, thanks.

@Rosiak Rosiak closed this in #1660 Aug 11, 2015
@Calvario
Contributor

Thanks @laf.

  1. Processor is ok on Zywall USG 100 and Zywall USG 20W.
  2. Memory doesn't work. It create the mempool and destroy it after
    Debug = http://pastebin.com/YHRKy0hE
  3. Active sessions (NAT) to add.
  4. Firmware version is ok on Zywall USG 100 and Zywall USG 20W.
    But it's possible to only catch this part and not all ?
    3.30(AQQ.7)
  5. Serial is ok on Zywall USG 100 and Zywall USG 20W.
    But it apear on Librenms like this = Serial " S12XX0300XXXX"
    It's possible to only have this part ? S12XX0300XXXX

snmpwalk -c comm -v 2c ip 1.3.6.1.4.1.890.1.15.3.1.12.0
SNMPv2-SMI::enterprises.890.1.15.3.1.12.0 = STRING: " S120Z03007705"

Many thanks !

@Rosiak Rosiak reopened this Aug 11, 2015
@laf
Member
laf commented Aug 18, 2015

@Calvario for 4 and 5 can you post:

./poller.php -h HOSTNAME -d -r -m system,os

@Calvario
Contributor
Calvario commented Sep 5, 2015

Hello @laf,

Something strange happen.
The processor of Zywall USG 100 is deleted and added for no reason.
When it "works", I have data until it removes and adds it again.
It doesn't happen in Zywall USG 20w.

2015-09-05 18:33:55 System Processor added: type zywall index 0 descr Processor
2015-09-05 06:33:53 System Processor removed: type zywall index 0 descr Processor
2015-09-05 00:33:53 System Processor added: type zywall index 0 descr Processor
2015-09-04 12:33:55 System Processor removed: type zywall index 0 descr Processor
2015-09-04 00:33:55 System Processor added: type zywall index 0 descr Processor
2015-09-03 18:33:57 System Processor removed: type zywall index 0 descr Processor

@laf
Member
laf commented Oct 8, 2016

We require the output of snmpbulkwalk -Onet -v2c -c COMMUNITY HOSTNAME . to proceed with this.

@Rosiak Rosiak added the Needs-Info label Oct 14, 2016
@Rosiak Rosiak added a commit to Rosiak/librenms that referenced this issue Oct 19, 2016
@Rosiak Rosiak fix: Zywall Fixes #1652 e7b4dd3
@Rosiak Rosiak referenced this issue Oct 19, 2016
Merged

fix: ZyWALL Fixes #1652 #4834

2 of 2 tasks complete
@laf laf closed this in #4834 Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment