Re: [Observium] Fortigates reporting memory in MB not in GB

Hi,
please attach debug for discovery:
./discovery.php -d -m mempools -h <device>
Serghei Golipad mailto:s.golipad@uk.cdw.com 31 January 2018 at 19:48
Guys,
Anyone polling FortiGates with few GB of RAM, are you seeing it reported correctly? Device with 2G RAM is showing 2MB:
Cheers
PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL.
CDW Limited is a Company registered in England and Wales. This email is sent for and on behalf of CDW Finance Holdings Limited. CDW Finance Holdings Limited is the UK holding company for CDW Limited trading as CDW. The registered office for CDW Finance Holdings Limited (Company Number 05872067) and its UK group undertakings is 10 Fleet Place, London, EC4M 7RB. VAT Registration 902 1949 39. Confidentiality: This e-mail contains proprietary information, some or all of which may be confidential and/or legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and then delete the original. If you are not the intended recipient you may not use, disclose, distribute, copy, print or rely on any information contained in this e-mail. You must not inform any other person other than CDW or the sender of its existence.
For more information about CDW please visit www.uk.cdw.com
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -OQUvs -m FORTINET-FORTIGATE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/fortinet 'udp':'fw01-fgvm01':'161' fgSysMemCapacity.0]
CMD EXITCODE[0] CMD RUNTIME[0.0601s] STDOUT[ 2054228 <----------------------------------- This is the bit you are looking for right? ]
OID should be reported in KB and not B:
fgSysMemCapacity OBJECT-TYPE -- 1.3.6.1.4.1.12356.101.4.1.5.0 -- iso(1). org(3). dod(6). internet(1). private(4). enterprises(1). fortinet(12356). fnFortiGateMib(101). fgSystem(4). fgSystemInfo(1). fgSysMemCapacity(5). 0 SYNTAX Gauge32 MAX-ACCESS read-only DESCRIPTION "Total physical memory (RAM) installed (KB)"
-----Original Message----- From: Mike Stupalov [mailto:mike@stupalov.ru] On Behalf Of Mike Stupalov Sent: 31 January 2018 16:52 To: Observium observium@observium.org; Serghei Golipad s.golipad@uk.cdw.com Subject: Re: [Observium] Fortigates reporting memory in MB not in GB
Hi,
please attach debug for discovery:
./discovery.php -d -m mempools -h <device>
Serghei Golipad mailto:s.golipad@uk.cdw.com 31 January 2018 at 19:48
Guys,
Anyone polling FortiGates with few GB of RAM, are you seeing it reported correctly? Device with 2G RAM is showing 2MB:
Cheers
PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL.
CDW Limited is a Company registered in England and Wales. This email is sent for and on behalf of CDW Finance Holdings Limited. CDW Finance Holdings Limited is the UK holding company for CDW Limited trading as CDW. The registered office for CDW Finance Holdings Limited (Company Number 05872067) and its UK group undertakings is 10 Fleet Place, London, EC4M 7RB. VAT Registration 902 1949 39. Confidentiality: This e-mail contains proprietary information, some or all of which may be confidential and/or legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and then delete the original. If you are not the intended recipient you may not use, disclose, distribute, copy, print or rely on any information contained in this e-mail. You must not inform any other person other than CDW or the sender of its existence.
For more information about CDW please visit www.uk.cdw.com
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.org
PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL.
CDW Limited is a Company registered in England and Wales. This email is sent for and on behalf of CDW Finance Holdings Limited. CDW Finance Holdings Limited is the UK holding company for CDW Limited trading as CDW. The registered office for CDW Finance Holdings Limited (Company Number 05872067) and its UK group undertakings is 10 Fleet Place, London, EC4M 7RB. VAT Registration 902 1949 39. Confidentiality: This e-mail contains proprietary information, some or all of which may be confidential and/or legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and then delete the original. If you are not the intended recipient you may not use, disclose, distribute, copy, print or rely on any information contained in this e-mail. You must not inform any other person other than CDW or the sender of its existence.
For more information about CDW please visit www.uk.cdw.com
participants (2)
-
Mike Stupalov
-
Serghei Golipad