15:43 www-data@observium02 ~% /opt/observium/poller.php -d -r -m -os -h 780
DEBUG!

CMD[/usr/bin/svn info /opt/observium]

CMD EXITCODE[0]
CMD RUNTIME[0.0176s]
CMD EXITDELAY[10ms]
STDOUT[
Path: .
Working Copy Root Path: /opt/observium
URL: https://svn.observium.org/svn/observium/branches/stable
Relative URL: ^/observium/branches/stable
Repository Root: https://svn.observium.org/svn
Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8
Revision: 12548
Node Kind: directory
Schedule: normal
Last Changed Author: adama
Last Changed Rev: 12520
Last Changed Date: 2023-02-08 20:28:14 +0100 (Wed, 08 Feb 2023)

]
DEFINITIONS loaded by: 0.0914710 ms

DEFINITIONS in memory: 3.38MB


SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';]
SQL RUNTIME[0.00017500s]

SQL[SELECT @@SESSION.sql_mode;]
SQL RUNTIME[0.00007606s]

SQL[SET SESSION `sql_mode` = 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION']
SQL RUNTIME[0.00005579s]
DB mode(s) disabled: STRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO

SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
SQL RUNTIME[0.00008607s]

SQL[SELECT * FROM `config`]
SQL RUNTIME[0.00033498s]

SQL[SELECT EXISTS (SELECT 1 FROM `pollers`)]
SQL RUNTIME[0.00014901s]

  ___   _                              _
 / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
| | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
| |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
 \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                          Observium Professional 23.2.12520
                                  https://www.observium.org


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0521s]
STDOUT[
Linux|4.19.0-23-amd64|amd64|Debian|10||
]

CMD[/usr/bin/env python --version 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0021s]
STDOUT[
Python 2.7.16
]

SQL[SELECT version();]
SQL RUNTIME[0.00013995s]

CMD[/usr/bin/snmpget --version 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0023s]
STDOUT[
NET-SNMP version: 5.7.3
]

CMD[/usr/bin/rrdtool --version | head -n1]

CMD EXITCODE[0]
CMD RUNTIME[0.0125s]
STDOUT[
RRDtool 1.7.1  Copyright by Tobias Oetiker <tobi@oetiker.ch>
]

CMD[/usr/bin/rrdcached -h | head -n1]

CMD EXITCODE[0]
CMD RUNTIME[0.0093s]
STDOUT[
RRDCacheD 1.7.1
]

CMD[/usr/bin/fping -v 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0013s]
STDOUT[
/usr/bin/fping: Version 4.2
/usr/bin/fping: comments to david@schweikert.ch
]

CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}']

CMD EXITCODE[0]
CMD RUNTIME[0.0024s]
STDOUT[

]

CMD[/usr/bin/env httpd -v | awk '/Server version:/ {print $3}']

CMD EXITCODE[0]
CMD RUNTIME[0.003s]
STDOUT[

]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
SQL RUNTIME[0.00022388s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00011897s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
SQL RUNTIME[0.00013995s]

SQL[SELECT @@SESSION.sql_mode;]
SQL RUNTIME[0.00007915s]

SQL[SHOW VARIABLES LIKE 'log_bin']
SQL RUNTIME[0.00081706s]

SQL[SHOW VARIABLES LIKE 'character_set_connection']
SQL RUNTIME[0.00052094s]

#####  Software versions  #####

 o OS                   Linux 4.19.0-23-amd64 [amd64] (Debian 10)
 o Apache               not found
 o PHP                  8.1.17 (OPcache: ENABLED)
 o Python               2.7.16
 o MariaDB              10.4.28-MariaDB-1:10.4.28+maria~deb10-log (extension: mysqli 8.1.17)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.7.1 (rrdcached 1.7.1: unix:/var/run/rrdcached.sock)
 o Fping                4.2 (IPv4 and IPv6)

#####  Memory Limit  #####

 o PHP                  512MB

#####  DB info  #####

 o DB schema            478
 o MariaDB binlog       OFF
 o MariaDB mode         NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

#####  Charset info  #####

 o PHP                  UTF-8
 o MariaDB              utf8

#####  Timezones info  #####

 o Date                 Monday, 03-Apr-23 15:45:41 CEST
 o PHP                  +02:00
 o MariaDB              +02:00


SQL[SELECT * FROM `alerts_maint` WHERE `maint_start` < '1680529541' AND `maint_end` > '1680529541']
SQL RUNTIME[0.00018287s]
#####  Starting polling run at 2023-04-03 15:45:41  #####


SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `device_id` = '780' AND `poller_id` = '0' ORDER BY `device_id` ASC]
SQL RUNTIME[0.00020814s]

SQL[SELECT * FROM `devices` WHERE `device_id` = '780']
SQL RUNTIME[0.00027680s]

SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '780']
SQL RUNTIME[0.00020504s]


  /opt/observium/includes/polling/functions.inc.php:119
array(
  [device_id]                 => string(3) "780"
  [poller_id]                 => string(1) "0"
  [hostname]                  => string(11) "10.13.12.93"
  [sysName]                   => string(33) "fw01-0-corp_mar02_new.<removed>"
  [label]                     => null
  [ip]                        => string(11) "10.13.12.93"
  [snmp_community]            => string(8) "<removed>"
  [snmp_authlevel]            => null
  [snmp_authname]             => null
  [snmp_authpass]             => null
  [snmp_authalgo]             => null
  [snmp_cryptopass]           => null
  [snmp_cryptoalgo]           => null
  [snmp_context]              => null
  [snmpable]                  => null
  [snmp_version]              => string(3) "v2c"
  [snmp_port]                 => string(3) "161"
  [snmp_timeout]              => null
  [snmp_retries]              => null
  [snmp_maxrep]               => null
  [ssh_port]                  => string(2) "22"
  [agent_version]             => null
  [snmp_transport]            => string(3) "udp"
  [bgpLocalAs]                => string(5) "65524"
  [snmpEngineID]              => string(42) "800030440446473648304654423232393030383931"
  [sysObjectID]               => string(29) ".1.3.6.1.4.1.12356.101.1.6007"
  [sysDescr]                  => string(13) "fw01-corp_mar"
  [sysContact]                => string(15) "noc@<removed>"
  [version]                   => string(6) "6.4.11"
  [hardware]                  => string(12) "FortiGate 60"
  [vendor]                    => string(8) "Fortinet"
  [features]                  => string(9) "build5410"
  [location]                  => string(11) "MAR02-MAR03"
  [os]                        => string(9) "fortigate"
  [status]                    => string(1) "1"
  [status_type]               => string(2) "ok"
  [ignore]                    => string(1) "0"
  [ignore_until]              => null
  [asset_tag]                 => null
  [disabled]                  => string(1) "0"
  [uptime]                    => string(7) "4247139"
  [last_rebooted]             => string(10) "1676282132"
  [force_discovery]           => string(1) "0"
  [last_polled]               => string(19) "2023-04-03 15:41:17"
  [last_discovered]           => string(19) "2023-04-03 15:13:16"
  [last_alerter]              => string(19) "2023-04-03 15:41:17"
  [last_polled_timetaken]     => string(4) "6.93"
  [last_discovered_timetaken] => string(4) "0.16"
  [purpose]                   => null
  [type]                      => string(8) "firewall"
  [serial]                    => string(16) "<removed>"
  [icon]                      => null
  [device_state]              => string(7808) "a:5:{s:15:"poller_mod_perf";a:18:{s:6:"system";d:0.1442;s:2:"os";d:0.1091;s:7:"sensors";d:0.2088;s:6:"status";d:0.2469;s:7:"counter";d:0.0005;s:10:"processors";d:0.0479;s:8:"mempools";d:0.0398;s:7:"storage";d:0.0036;s:7:"ucd-mib";d:0.0002;s:5:"ports";d:3.1403;s:9:"bgp-peers";d:2.2592;s:4:"ospf";d:0.0001;s:3:"sla";d:0.0006;s:11:"pseudowires";d:0.0007;s:14:"mac-accounting";d:0.0005;s:15:"entity-physical";d:0.0001;s:6:"graphs";d:0.6126;s:4:"oids";d:0.0547;}s:17:"poller_ports_perf";a:3:{s:6:"IF-MIB";d:1.4948749542236328;s:13:"EtherLike-MIB";d:0.0348818302154541;s:6:"IP-MIB";d:1.070918083190918;}s:14:"poller_history";a:288:{i:1680529270;d:6.9274;i:1680528973;d:7.4917;i:1680528675;d:7.9558;i:1680528371;d:7.3508;i:1680528073;d:5.5555;i:1680527768;d:4.6711;i:1680527472;d:7.2452;i:1680527173;d:4.7639;i:1680526883;d:6.3664;i:1680526572;d:3.7116;i:1680526275;d:5.7134;i:1680525970;d:3.5968;i:1680525673;d:5.0412;i:1680525375;d:4.1725;i:1680525074;d:4.7153;i:1680524772;d:4.2312;i:1680524470;d:4.114;i:1680524178;d:5.8184;i:1680523858;d:3.4914;i:1680523579;d:9.4008;i:1680523288;d:3.6839;i:1680522973;d:3.9102;i:1680522672;d:4.9481;i:1680522372;d:4.4642;i:1680522075;d:4.7444;i:1680521768;d:3.618;i:1680521473;d:7.2211;i:1680521170;d:5.249;i:1680520870;d:4.8285;i:1680520577;d:7.156;i:1680520269;d:3.7091;i:1680519974;d:6.6603;i:1680519672;d:3.96;i:1680519368;d:5.697;i:1680519071;d:6.5712;i:1680518770;d:4.6603;i:1680518473;d:6.7946;i:1680518171;d:6.2374;i:1680517868;d:4.9701;i:1680517576;d:6.4132;i:1680517272;d:3.6672;i:1680516975;d:7.3362;i:1680516674;d:4.8612;i:1680516367;d:3.5788;i:1680516080;d:7.4568;i:1680515773;d:4.3171;i:1680515471;d:4.6258;i:1680515171;d:5.8488;i:1680514872;d:5.8411;i:1680514572;d:5.6008;i:1680514275;d:5.1283;i:1680513971;d:4.963;i:1680513670;d:5.6816;i:1680513374;d:5.63;i:1680513075;d:3.821;i:1680512772;d:3.6088;i:1680512477;d:6.3363;i:1680512172;d:3.7994;i:1680511872;d:5.3308;i:1680511572;d:4.8631;i:1680511276;d:5.3748;i:1680510969;d:3.6454;i:1680510668;d:6.6539;i:1680510374;d:6.8357;i:1680510074;d:3.8538;i:1680509774;d:5.1041;i:1680509476;d:5.1672;i:1680509173;d:4.6305;i:1680508873;d:7.6902;i:1680508577;d:5.7965;i:1680508268;d:3.6658;i:1680507974;d:6.9497;i:1680507672;d:4.3348;i:1680507373;d:4.3967;i:1680507067;d:3.9501;i:1680506774;d:7.5212;i:1680506466;d:3.8256;i:1680506174;d:6.5487;i:1680505872;d:4.2174;i:1680505569;d:4.822;i:1680505270;d:5.7542;i:1680504971;d:4.8773;i:1680504668;d:3.79;i:1680504369;d:6.3429;i:1680504067;d:3.867;i:1680503766;d:6.0127;i:1680503478;d:5.9803;i:1680503171;d:7.7971;i:1680502866;d:4.0734;i:1680502569;d:5.5082;i:1680502269;d:4.8075;i:1680501973;d:4.4733;i:1680501672;d:3.764;i:1680501365;d:4.9893;i:1680501071;d:6.9795;i:1680500769;d:4.234;i:1680500470;d:5.3233;i:1680500170;d:4.9626;i:1680499872;d:4.9564;i:1680499572;d:3.9504;i:1680499271;d:4.9304;i:1680498973;d:3.7824;i:1680498668;d:5.9876;i:1680498372;d:6.657;i:1680498071;d:4.2481;i:1680497775;d:5.3199;i:1680497475;d:4.0561;i:1680497168;d:4.8667;i:1680496872;d:6.6529;i:1680496571;d:4.0464;i:1680496272;d:5.1423;i:1680495977;d:5.0268;i:1680495672;d:5.5241;i:1680495375;d:4.1115;i:1680495071;d:4.8986;i:1680494774;d:6.561;i:1680494471;d:3.7825;i:1680494174;d:6.4615;i:1680493868;d:3.8112;i:1680493572;d:6.5602;i:1680493270;d:5.1727;i:1680492967;d:5.2405;i:1680492668;d:6.8615;i:1680492372;d:6.2761;i:1680492073;d:4.4145;i:1680491770;d:3.5406;i:1680491472;d:6.0227;i:1680491170;d:5.9437;i:1680490869;d:7.6181;i:1680490574;d:7.564;i:1680490271;d:4.9623;i:1680489971;d:6.1116;i:1680489673;d:4.4319;i:1680489374;d:4.0141;i:1680489067;d:4.6115;i:1680488774;d:6.487;i:1680488471;d:4.8137;i:1680488179;d:6.38;i:1680487878;d:3.7622;i:1680487571;d:4.6566;i:1680487275;d:6.9294;i:1680486972;d:4.0825;i:1680486674;d:5.0552;i:1680486368;d:3.7303;i:1680486073;d:6.7056;i:1680485769;d:3.6594;i:1680485472;d:5.8275;i:1680485171;d:5.4514;i:1680484871;d:4.7105;i:1680484570;d:4.1166;i:1680484274;d:5.8894;i:1680483970;d:3.8121;i:1680483680;d:5.7788;i:1680483366;d:3.7939;i:1680483065;d:5.3507;i:1680482768;d:6.2062;i:1680482468;d:4.3379;i:1680482169;d:4.6091;i:1680481868;d:4.6315;i:1680481568;d:4.3523;i:1680481268;d:4.8391;i:1680480968;d:4.7377;i:1680480669;d:4.1327;i:1680480368;d:4.9977;i:1680480079;d:6.3627;i:1680479769;d:4.5255;i:1680479462;d:4.6981;i:1680479168;d:6.8779;i:1680478869;d:4.2358;i:1680478571;d:5.5257;i:1680478256;d:3.6328;i:1680477964;d:8.8216;i:1680477666;d:6.5756;i:1680477371;d:5.664;i:1680477071;d:4.5386;i:1680476772;d:5.9698;i:1680476470;d:3.8668;i:1680476174;d:6.8441;i:1680475876;d:7.8738;i:1680475576;d:4.8552;i:1680475268;d:3.8851;i:1680474970;d:7.0726;i:1680474666;d:4.1215;i:1680474367;d:5.716;i:1680474069;d:4.5647;i:1680473770;d:5.0572;i:1680473462;d:7.6353;i:1680473179;d:9.8623;i:1680472890;d:5.6653;i:1680472573;d:4.9654;i:1680472267;d:5.6772;i:1680471973;d:5.1172;i:1680471666;d:4.0219;i:1680471370;d:6.8766;i:1680471062;d:3.7352;i:1680470770;d:7.5694;i:1680470468;d:4.5936;i:1680470170;d:4.7273;i:1680469871;d:4.8978;i:1680469568;d:4.1878;i:1680469272;d:5.4347;i:1680468964;d:3.8842;i:1680468665;d:6.3461;i:1680468370;d:5.7678;i:1680468064;d:3.6883;i:1680467767;d:6.2637;i:1680467472;d:5.7328;i:1680467166;d:3.7702;i:1680466866;d:5.4787;i:1680466568;d:5.5783;i:1680466265;d:4.8896;i:1680465971;d:6.8403;i:1680465671;d:4.1477;i:1680465366;d:4.1407;i:1680465064;d:5.0209;i:1680464765;d:6.4206;i:1680464467;d:5.9612;i:1680464168;d:4.3854;i:1680463869;d:4.7174;i:1680463565;d:4.8064;i:1680463270;d:5.4847;i:1680462967;d:3.7605;i:1680462667;d:5.5571;i:1680462374;d:5.3716;i:1680462074;d:5.0481;i:1680461768;d:4.3136;i:1680461463;d:4.8154;i:1680461168;d:6.3938;i:1680460859;d:3.8068;i:1680460566;d:7.9638;i:1680460267;d:4.7549;i:1680459967;d:4.2422;i:1680459664;d:5.0413;i:1680459371;d:6.2327;i:1680459068;d:3.715;i:1680458767;d:5.535;i:1680458468;d:4.5157;i:1680458168;d:4.341;i:1680457867;d:5.0441;i:1680457557;d:4.0526;i:1680457268;d:8.6562;i:1680456967;d:4.5111;i:1680456663;d:4.9171;i:1680456371;d:6.726;i:1680456065;d:3.5844;i:1680455766;d:5.4806;i:1680455466;d:5.0551;i:1680455170;d:4.984;i:1680454860;d:3.6692;i:1680454565;d:8.4219;i:1680454267;d:6.0215;i:1680453965;d:4.0828;i:1680453667;d:5.5942;i:1680453367;d:4.497;i:1680453069;d:5.2608;i:1680452762;d:3.8874;i:1680452469;d:7.3909;i:1680452163;d:4.0287;i:1680451867;d:6.7499;i:1680451566;d:4.9887;i:1680451271;d:5.8926;i:1680450963;d:3.6086;i:1680450666;d:6.5794;i:1680450365;d:5.2206;i:1680450065;d:5.0974;i:1680449766;d:6.1229;i:1680449469;d:6.0562;i:1680449165;d:3.6537;i:1680448868;d:5.7034;i:1680448566;d:3.7495;i:1680448270;d:6.7606;i:1680447966;d:3.777;i:1680447672;d:6.1694;i:1680447365;d:4.776;i:1680447068;d:6.0422;i:1680446763;d:3.4536;i:1680446467;d:6.9415;i:1680446166;d:5.3099;i:1680445866;d:5.1876;i:1680445567;d:6.1386;i:1680445266;d:5.1563;i:1680444968;d:5.646;i:1680444669;d:4.3771;i:1680444369;d:5.0316;i:1680444064;d:3.9024;i:1680443768;d:6.2361;i:1680443468;d:4.0913;i:1680443170;d:5.0247;}s:17:"discovery_history";a:16:{i:1680519926;d:6.6733;i:1680476683;d:8.0081;i:1680432363;d:8.6867;i:1680390127;d:8.3654;i:1680346968;d:6.0878;i:1680303873;d:6.0031;i:1680260683;d:6.7703;i:1680217572;d:8.4087;i:1680174290;d:6.2259;i:1680131263;d:6.8133;i:1680087887;d:10.7795;i:1680076536;d:7.8942;i:1680044817;d:5.8898;i:1680001476;d:6.9104;i:1679958236;d:5.8692;i:1679925415;d:8.127;}s:18:"discovery_mod_perf";a:19:{s:2:"os";d:0.0585;s:4:"mibs";d:0.1281;s:3:"vrf";d:0.2185;s:5:"ports";d:0.1598;s:4:"oids";d:0.026;s:12:"ip-addresses";d:1.2953;s:10:"processors";d:0.0463;s:8:"mempools";d:0.0682;s:9:"inventory";d:2.2209;s:7:"sensors";d:1.1099;s:7:"storage";d:0.0861;s:9:"bgp-peers";d:1.077;s:14:"mac-accounting";d:0.0002;s:3:"sla";d:0.0171;s:11:"pseudowires";d:0.0184;s:16:"virtual-machines";d:0.0005;s:11:"cisco-cbqos";d:0.1021;s:10:"ucd-diskio";d:0.0326;s:6:"graphs";d:0.0003;}}"
  [distro]                    => null
  [distro_ver]                => null
  [kernel]                    => null
  [arch]                      => null
)


  /opt/observium/includes/polling/functions.inc.php:120
array(
  [bgp_localas]         => string(539) "[{"mib":"BGP4-MIB","oid":"bgpLocalAs.0","LocalAs":"65524","virtual_name":"JN-BUR","snmp_context":"JN-BUR"},{"mib":"BGP4-MIB","oid":"bgpLocalAs.0","LocalAs":"65524","virtual_name":"JN-GUEST","snmp_context":"JN-GUEST"},{"mib":"BGP4-MIB","oid":"bgpLocalAs.0","LocalAs":"65524","virtual_name":"JN-SH","snmp_context":"JN-SH"},{"mib":"BGP4-MIB","oid":"bgpLocalAs.0","LocalAs":"65524","virtual_name":"JN-SI","snmp_context":"JN-SI"},{"mib":"BGP4-MIB","oid":"bgpLocalAs.0","LocalAs":"65524","virtual_name":"PREDIC-BUR","snmp_context":"PREDIC-BUR"}]"
  [ports_ignored_count] => string(1) "3"
  [vrf_contexts]        => string(99) "{"JN-BUR":"JN-BUR","JN-GUEST":"JN-GUEST","JN-SH":"JN-SH","JN-SI":"JN-SI","PREDIC-BUR":"PREDIC-BUR"}"
)


  /opt/observium/includes/polling/functions.inc.php:121
array(
  [name] => string(12) "FortiGate 60"
)

SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'poller.php' AND `device_id` = '780' AND `poller_id` = '0']
SQL RUNTIME[0.00025201s]

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('17939','poller.php','3338','33','php /opt/observium/poller.php -d -r -m -os -h 780','1680529541','780')]
SQL RUNTIME[0.00017214s]

SQL[SELECT * FROM `alert_tests` WHERE 1]
SQL RUNTIME[0.00019288s]
Cached 14 alert rules.

SQL[SELECT * FROM `alert_table` WHERE `device_id` = '780']
SQL RUNTIME[0.00068378s]
#####  10.13.12.93 [780]  #####

 o OS                   fortigate
 o OS Group             fortinet
 o Last poll duration   6.93 seconds
 o Last Polled          2023-04-03 15:41:17
 o SNMP Version         v2c

CMD[/usr/bin/fping -t 500 -c 1 -q 10.13.12.93 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.002s]
STDOUT[
10.13.12.93 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.36/0.36/0.36
]

CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUsn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.13.12.93':'161' .1.3.6.1.2.1.1.2.0 .1.3.6.1.2.1.1.3.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0141s]
STDOUT[
.1.3.6.1.2.1.1.2.0 = .1.3.6.1.4.1.12356.101.1.6007
.1.3.6.1.2.1.1.3.0 = 49:3:50:10.50
]
SNMP STATUS[TRUE]
 o Device status        Device is reachable by PING (0.36ms) and SNMP (14.12ms)
[RRD Disabled - create /opt/observium/rrd/10.13.12.93/status.rrd]
[RRD Disabled - update 10.13.12.93/status.rrd N:1 --daemon unix:/var/run/rrdcached.sock]
[RRD Disabled - create /opt/observium/rrd/10.13.12.93/ping.rrd]
[RRD Disabled - update 10.13.12.93/ping.rrd N:0.36 --daemon unix:/var/run/rrdcached.sock]
[RRD Disabled - create /opt/observium/rrd/10.13.12.93/ping_snmp.rrd]
[RRD Disabled - update 10.13.12.93/ping_snmp.rrd N:14.12 --daemon unix:/var/run/rrdcached.sock]

SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '780']
SQL RUNTIME[0.00037098s]


including: includes/polling/system.inc.php
#####  Module Start: system  #####

JSON DECODE[Not string passed]
JSON RAW[


 > $str /opt/observium/includes/common.inc.php:5437
null

]
JSON DECODE[Not string passed]
JSON RAW[


  /opt/observium/includes/common.inc.php:5437
null

]

SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '780' AND `use` = 'mib' AND `disabled` = '1']
SQL RUNTIME[0.00020719s]
 o SNMPv2-MIB
CMD[/usr/bin/snmpget -v2c -c *** -Pud -Ih -OQUsx --hexOutputLength=0 -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.13.12.93':'161' sysUpTime.0 sysLocation.0 sysContact.0 sysName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0181s]
STDOUT[
sysUpTime.0 = 49:3:50:10.53
sysLocation.0 = "4D 41 52 30 32 2D 4D 41 52 30 33 "
sysContact.0 = "6E 6F 63 40 61 73 33 30 37 38 31 2E 6E 65 74 "
sysName.0 = "66 77 30 31 2D 30 2D 63 6F 72 70 5F 6D 61 72 30 32 5F 4E 45 57 2E 61 73 33 30 37 38 31 2E 6E 65 74 "
]
SNMP Hex string converted..
   HEX: 4D 41 52 30 32 2D 4D 41 52 30 33
STRING: MAR02-MAR03

SNMP Hex string converted..
   HEX: 6E 6F 63 40 61 73 33 30 37 38 31 2E 6E 65 74
STRING: noc@<removed>

SNMP Hex string converted..
   HEX: 66 77 30 31 2D 30 2D 63 6F 72 70 5F 6D 61 72 30 32 5F 4E 45 57 2E 61 73 33 30 37 38 31 2E 6E 65 74
STRING: fw01-0-corp_mar02_NEW.<removed>

SNMP STATUS[TRUE]
Timeticks converted 49:3:50:10.53 -> 4247410

CMD[/usr/bin/snmpget -v2c -c *** -Pud -Ih -OQUvx --hexOutputLength=0 -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.13.12.93':'161' sysDescr.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0131s]
STDOUT[
"66 77 30 31 2D 63 6F 72 70 5F 6D 61 72 "
]
SNMP Hex string converted..
   HEX: 66 77 30 31 2D 63 6F 72 70 5F 6D 61 72
STRING: fw01-corp_mar

SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUvn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.13.12.93':'161' sysObjectID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0137s]
STDOUT[
.1.3.6.1.4.1.12356.101.1.6007
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m SNMP-FRAMEWORK-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.13.12.93':'161' snmpEngineID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0136s]
STDOUT[
"80 00 30 44 04 46 47 36 48 30 46 54 42 32 32 39
30 30 38 39 31 "
]
SNMP STATUS[TRUE]


CMD[/usr/bin/snmpget -v2c -c *** -Pud -Ih -OQUvx --hexOutputLength=0 -m FORTINET-FORTIGATE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/fortinet 'udp':'10.13.12.93':'161' fgSysUpTime.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0376s]
STDOUT[
424741061
]
SNMP STATUS[TRUE]
  String '424741061' transformed by action [timeticks] to: '4247410'
Added System Uptime from SNMP definition fetch: 'device_uptime' = '4247410'
Using device MIB poller Uptime (4247410 sec. => 49 days, 3h 50m 10s)
[RRD Disabled - create /opt/observium/rrd/10.13.12.93/uptime.rrd]
[RRD Disabled - update 10.13.12.93/uptime.rrd N:4247410 --daemon unix:/var/run/rrdcached.sock]
 o Uptime               49 days, 3h 50m 10s
 o Last reboot          2023-02-13 11:55:32


  /opt/observium/includes/polling/system.inc.php:218
array(
  [use]           => string(13) "device_uptime"
  [sysUpTime]     => int(4247410)
  [device_uptime] => double(4247410)
  [message]       => string(30) "Using device MIB poller Uptime"
  [uptime]        => double(4247410)
  [formatted]     => string(19) "49 days, 3h 50m 10s"
  [previous]      => string(7) "4247139"
  [diff]          => double(-271)
  [last_rebooted] => string(10) "1676282132"
  [rebooted]      => int(0)
)
 o sysObjectID          .1.3.6.1.4.1.12356.101.1.6007
 o snmpEngineID         800030440446473648304654423232393030383931
 o sysDescr             fw01-corp_mar
 o sysName              fw01-0-corp_mar02_NEW.<removed>
 o Location             MAR02-MAR03
 o Module time          0.1079s


including: includes/polling/os.inc.php
#####  Module Start: os  #####


SQL[SELECT * FROM `entPhysical` WHERE `device_id` = '780' AND `entPhysicalContainedIn` = '0' AND `deleted` IS NULL]
SQL RUNTIME[0.00055599s]


  /opt/observium/includes/polling/os.inc.php:91
array(
  [entPhysical_id]          => string(6) "137404"
  [device_id]               => string(3) "780"
  [inventory_mib]           => string(10) "ENTITY-MIB"
  [entPhysicalIndex]        => string(1) "1"
  [entPhysicalDescr]        => string(47) "Fortinet FGT_600F, HW Serial#: <removed>"
  [entPhysicalClass]        => string(7) "chassis"
  [entPhysicalName]         => string(8) "FGT_600F"
  [entPhysicalHardwareRev]  => string(0) ""
  [entPhysicalFirmwareRev]  => string(0) ""
  [entPhysicalSoftwareRev]  => string(46) "FortiGate-600F v6.4.11,build5410,221123 (GA.M)"
  [entPhysicalAlias]        => string(0) ""
  [entPhysicalAssetID]      => string(0) ""
  [entPhysicalIsFRU]        => string(4) "true"
  [entPhysicalModelName]    => string(8) "FGT_600F"
  [entPhysicalVendorType]   => string(20) "fortinet.6007.6007.0"
  [entPhysicalSerialNum]    => string(16) "<removed>"
  [entPhysicalContainedIn]  => string(1) "0"
  [entPhysicalParentRelPos] => string(2) "-1"
  [entPhysicalMfgName]      => string(8) "Fortinet"
  [ifIndex]                 => null
  [deleted]                 => null
)
Added OS param from ENTITY-MIB: 'serial' = '<removed>'
  String 'FGT_600F' transformed by action [replace] to: 'FortiGate 600F'
  String 'FortiGate 600F' transformed by action [replace] to: 'FortiGate 600F'
Added OS param from ENTITY-MIB: 'hardware' = 'FortiGate 600F'

CMD[/usr/bin/snmpget -v2c -c *** -Pud -Ih -OQUvx --hexOutputLength=0 -m FORTINET-FORTIGATE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/fortinet 'udp':'10.13.12.93':'161' fgSysVersion.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0339s]
STDOUT[
"76 36 2E 34 2E 31 31 2C 62 75 69 6C 64 35 34 31 30 2C 32 32 31 31 32 33 20 28 47 41 2E 4D 29 "
]
SNMP Hex string converted..
   HEX: 76 36 2E 34 2E 31 31 2C 62 75 69 6C 64 35 34 31 30 2C 32 32 31 31 32 33 20 28 47 41 2E 4D 29
STRING: v6.4.11,build5410,221123 (GA.M)

SNMP STATUS[TRUE]
  String 'v6.4.11,build5410,221123 (GA.M)' transformed by action [explode] to: 'v6.4.11'
  String 'v6.4.11' transformed by action [ltrim] to: '6.4.11'
Added Device param from SNMP definition by [FORTINET-FORTIGATE-MIB::fgSysVersion.0]: 'version' = '6.4.11'

CMD[/usr/bin/snmpget -v2c -c *** -Pud -Ih -OQUvx --hexOutputLength=0 -m FORTINET-FORTIGATE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/fortinet 'udp':'10.13.12.93':'161' fgSysVersion.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0308s]
STDOUT[
"76 36 2E 34 2E 31 31 2C 62 75 69 6C 64 35 34 31 30 2C 32 32 31 31 32 33 20 28 47 41 2E 4D 29 "
]
SNMP Hex string converted..
   HEX: 76 36 2E 34 2E 31 31 2C 62 75 69 6C 64 35 34 31 30 2C 32 32 31 31 32 33 20 28 47 41 2E 4D 29
STRING: v6.4.11,build5410,221123 (GA.M)

SNMP STATUS[TRUE]
  String 'v6.4.11,build5410,221123 (GA.M)' transformed by action [explode] to: 'build5410'
Added Device param from SNMP definition by [FORTINET-FORTIGATE-MIB::fgSysVersion.0]: 'features' = 'build5410'
 o OS Poller            Group
 o Type                 Firewalls
 o Vendor               Fortinet
 o Hardware             FortiGate 60
 o Version              6.4.11
 o Features             build5410
 o Serial               <removed>
 o Asset                <empty>

 o Module time          0.0774s

#####  10.13.12.93 [780] completed poller modules at 2023-04-03 15:45:41  #####

 o Graphs [checked]     availability, ping, ping_snmp, uptime
 o Poller time          0.2177 seconds
Updating 10.13.12.93 -

 > $update_array /opt/observium/includes/polling/functions.inc.php:439
array(
  [uptime]                => double(4247410)
  [last_polled]           => array(
                               [0] => string(5) "NOW()"
                             )
  [last_polled_timetaken] => double(0.2177)
)


SQL[UPDATE `devices` set `uptime` ='4247410',`last_polled` =NOW(),`last_polled_timetaken` ='0.2177' WHERE `device_id` = '780']
SQL RUNTIME[0.00036192s]
 o Updated Data         uptime, last_polled, last_polled_timetaken
Checking alert 15 associated by

Testing: device_status equals 0
 (value: 1)
NOT TRUE
%G[OK]%N
Testing: device_uptime lt 300
 (value: 4247139)
NOT TRUE
%G[OK]%N
[RRD Disabled - create /opt/observium/rrd/10.13.12.93/alert-15-device-780.rrd]
[RRD Disabled - update 10.13.12.93/alert-15-device-780.rrd N:1:1 --daemon unix:/var/run/rrdcached.sock]

SQL[INSERT INTO `alert_table` (`alert_table_id`,`count`,`state`,`alert_status`,`last_message`,`last_changed`,`last_checked`,`last_ok`,`last_failed`,`last_alerted`) VALUES ('151170','0','{\"metrics\":{\"device_status\":\"1\",\"device_uptime\":\"4247139\"}}','1','Checks OK','1679926586','1680529541','1680529541',NULL,'0') ON DUPLICATE KEY UPDATE `alert_table_id`=VALUES(`alert_table_id`),`count`=VALUES(`count`),`state`=VALUES(`state`),`alert_status`=VALUES(`alert_status`),`last_message`=VALUES(`last_message`),`last_changed`=VALUES(`last_changed`),`last_checked`=VALUES(`last_checked`),`last_ok`=VALUES(`last_ok`),`last_failed`=VALUES(`last_failed`),`last_alerted`=VALUES(`last_alerted`)]
SQL RUNTIME[0.00028491s]


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '17939' AND `process_name` = 'poller.php' AND `device_id` = '780' AND `poller_id` = '0']
SQL RUNTIME[0.00023293s]
poller.php: 10.13.12.93 - 1 devices polled in 0.328 secs
#####  Completed polling run at 2023-04-03 15:45:41  #####

NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output.
 o Devices Polled       1
 o Poller Time          0.328 secs
 o Memory usage         6MB (peak: 6MB)
 o MySQL Usage          Insert[1/0.001s] Update[2/0.002s] Delete[1/0.001s] Cell[5/0.004s] Row[6/0.006s] Rows[11/0.01s] Col[1/0.001s]
                        Connect[1/0s](0.024s 7.383%)
 o RRDTool Usage         (0s 0%)
 o SNMP Usage           snmpget[8/0.175s] (0.175s 53.327%)

15:45 www-data@observium02 ~%