better ucd/net-snmp memory usage -- update June 21 2009
Moderators: Developers, Moderators
Re: better ucd/net-snmp memory usage -- update June 21 2009
Ah, yes sorry, you probably have the wrong version for your system. You will need to replace your template with the updated version that I have done once it's released.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: better ucd/net-snmp memory usage -- update June 21 2009
Try out this replacement template:
https://github.com/netniV/cacti-netsnmp ... /releases/
https://github.com/netniV/cacti-netsnmp ... /releases/
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: better ucd/net-snmp memory usage -- update June 21 2009
Hi,
I wish to glad your work first at all, after that only i could confirm that last version from github works on version 1.1.30
I had to delete previous rra and recreate graph from device template
Thank you so much for your efforts
Greetings from Spain
I wish to glad your work first at all, after that only i could confirm that last version from github works on version 1.1.30
I had to delete previous rra and recreate graph from device template
Thank you so much for your efforts
Greetings from Spain
Re: better ucd/net-snmp memory usage -- update June 21 2009
Not entirely sure why that would be because the fields should be the same. Glad to know it works now though
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Cacti User
- Posts: 151
- Joined: Mon Feb 05, 2007 3:57 am
- Location: Munich, Germany
Re: better ucd/net-snmp memory usage -- update June 21 2009
[quote="Helmut Schneider"]No:
[helmut@BSDHelmut ~]$ sudo /usr/local/bin/php /var/www/cacti/scripts/ss_netsnmp_memory.php ss_netsnmp_mem
ory '192.168.0.10':'2':'public':'':'':::::'161':'500'
[helmut@BSDHelmut ~]$ sudo grep include /var/www/cacti/scripts/netsnmp_memory_usage.php
include(dirname(__FILE__) . "/../include/config.php");
include(dirname(__FILE__) . "/../include/global.php");
include(dirname(__FILE__) . "/../lib/snmp.php");
[helmut@BSDHelmut ~]$
# /usr/local/bin/php ./ss_netsnmp_memory.php ss_netsnmp_memory '192.168.0.10':'2':'public':'':'':::::'161':'500'
#[/quote]
[helmut@BSDHelmut ~]$ sudo /usr/local/bin/php /var/www/cacti/scripts/ss_netsnmp_memory.php ss_netsnmp_mem
ory 'localhost':'2':'public':'':'':::::'161':'500'
totalReal:0 availReal:0 totalSwap:0 availSwap:0 memBuffer:0 memCached:0 usedReal:0 usedSwap:0
[helmut@BSDHelmut ~]$ snmpwalk -v2c -cpublic localhost .1.3.6.1.2.1.25.2.2.0
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 4161028 KBytes
[helmut@BSDHelmut ~]$ snmpwalk -v2c -cpublic localhost .1.3.6.1.4.1.2021.4.6.0
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 218176 kB
[helmut@BSDHelmut ~]$
I'm using v1.0-beta.1
EDIT: Wrong command line, sorry, works now:
[helmut@BSDHelmut ~]$ sudo /usr/local/bin/php /var/www/cacti/scripts/ss_netsnmp_memory.php ss_netsnmp_memory '127.0.0.1' '2' 'public' '161' '500' '' '' '' '' '' ''
totalReal:4161028 availReal:329104 totalSwap:2097088 availSwap:819936 memBuffer:404752 memCached:2012340 usedReal:1414832 usedSwap:1277152[helmut@BSDHelmut ~]$
[helmut@BSDHelmut ~]$ sudo /usr/local/bin/php /var/www/cacti/scripts/ss_netsnmp_memory.php ss_netsnmp_mem
ory '192.168.0.10':'2':'public':'':'':::::'161':'500'
[helmut@BSDHelmut ~]$ sudo grep include /var/www/cacti/scripts/netsnmp_memory_usage.php
include(dirname(__FILE__) . "/../include/config.php");
include(dirname(__FILE__) . "/../include/global.php");
include(dirname(__FILE__) . "/../lib/snmp.php");
[helmut@BSDHelmut ~]$
# /usr/local/bin/php ./ss_netsnmp_memory.php ss_netsnmp_memory '192.168.0.10':'2':'public':'':'':::::'161':'500'
#[/quote]
[helmut@BSDHelmut ~]$ sudo /usr/local/bin/php /var/www/cacti/scripts/ss_netsnmp_memory.php ss_netsnmp_mem
ory 'localhost':'2':'public':'':'':::::'161':'500'
totalReal:0 availReal:0 totalSwap:0 availSwap:0 memBuffer:0 memCached:0 usedReal:0 usedSwap:0
[helmut@BSDHelmut ~]$ snmpwalk -v2c -cpublic localhost .1.3.6.1.2.1.25.2.2.0
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 4161028 KBytes
[helmut@BSDHelmut ~]$ snmpwalk -v2c -cpublic localhost .1.3.6.1.4.1.2021.4.6.0
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 218176 kB
[helmut@BSDHelmut ~]$
I'm using v1.0-beta.1
EDIT: Wrong command line, sorry, works now:
[helmut@BSDHelmut ~]$ sudo /usr/local/bin/php /var/www/cacti/scripts/ss_netsnmp_memory.php ss_netsnmp_memory '127.0.0.1' '2' 'public' '161' '500' '' '' '' '' '' ''
totalReal:4161028 availReal:329104 totalSwap:2097088 availSwap:819936 memBuffer:404752 memCached:2012340 usedReal:1414832 usedSwap:1277152[helmut@BSDHelmut ~]$
Re: better ucd/net-snmp memory usage -- update June 21 2009
Yeah, that output should be the same as what was originally produced, hence why I am not sure why the graph would need recreating. Unfortunately though, I didn't have a graph from before my changes because it run the script (catch 22).
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Cacti User
- Posts: 151
- Joined: Mon Feb 05, 2007 3:57 am
- Location: Munich, Germany
Re: better ucd/net-snmp memory usage -- update June 21 2009
Script still working fine, good job.
I found a (cosmetical?) issue in the logs:
2018/01/16 09:50:01 - POLLER: Poller[1] Device[2] DS[24] SERVER: /var/www/cacti/scripts/ss_netsnmp_memory.php ss_netsnmp_memory '192.168.124.35' '2' 'public' '161' '10000' '' '' , output: totalReal:4161028 availReal:115808 totalSwap:2097088 availSwap:1560480 memBuffer:284768 memCached:1405928 usedReal:2354524 usedSwap:536608
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - POLLER: Poller[1] Device[10] RECACHE: Processing 4 items in the auto reindex cache for '192.168.124.252'.
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[30] OID: .1.3.6.1.2.1.1.3.0, output: 125768003
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[25] OID: .1.3.6.1.2.1.1.3.0, output: 125768003
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[24] OID: .1.3.6.1.2.1.1.3.0, output: 125768003
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[9] OID: .1.3.6.1.2.1.1.3.0, output: 125768003
2018/01/16 09:50:01 - POLLER: Poller[1] Device[10] STATUS: Device '192.168.124.252' is UP.
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[8] OID: .1.3.6.1.2.1.1.3.0, output: 125768001
2018/01/16 09:50:01 - PING Device[10] SNMP: Device responded to SNMP
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 125768001
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE: Processing 6 items in the auto reindex cache for '192.168.124.253'.
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR WARNING Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 47 CactiErrorHandler)(/lib/functions.php: 4429 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP WARNING: Missing argument 11 for ss_netsnmp_memory(), called in /var/www/var/www/cacti/script_server.php on line 223 and defined in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 47
2018/01/16 09:50:01 - CMDPHP PHP ERROR WARNING Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 47 CactiErrorHandler)(/lib/functions.php: 4429 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP WARNING: Missing argument 10 for ss_netsnmp_memory(), called in /var/www/var/www/cacti/script_server.php on line 223 and defined in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 47
2018/01/16 09:50:01 - CMDPHP PHP ERROR WARNING Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 47 CactiErrorHandler)(/lib/functions.php: 4429 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP WARNING: Missing argument 9 for ss_netsnmp_memory(), called in /var/www/var/www/cacti/script_server.php on line 223 and defined in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 47
2018/01/16 09:50:01 - CMDPHP PHP ERROR WARNING Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 47 CactiErrorHandler)(/lib/functions.php: 4429 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP WARNING: Missing argument 8 for ss_netsnmp_memory(), called in /var/www/var/www/cacti/script_server.php on line 223 and defined in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 47
2018/01/16 09:50:01 - POLLER: Poller[1] Device[7] DS[118] CMD: perl /var/www/cacti/scripts/ping.pl 'www.google.de', output: 31.292
2018/01/16 09:50:01 - PHPSVR DEBUG: PID[87070] CTR[0] INC: 'ss_netsnmp_memory.php' FUNC: 'ss_netsnmp_memory' PARMS: ''192.168.124.35' '2' 'public' '161' '10000' '' '''
I found a (cosmetical?) issue in the logs:
2018/01/16 09:50:01 - POLLER: Poller[1] Device[2] DS[24] SERVER: /var/www/cacti/scripts/ss_netsnmp_memory.php ss_netsnmp_memory '192.168.124.35' '2' 'public' '161' '10000' '' '' , output: totalReal:4161028 availReal:115808 totalSwap:2097088 availSwap:1560480 memBuffer:284768 memCached:1405928 usedReal:2354524 usedSwap:536608
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - POLLER: Poller[1] Device[10] RECACHE: Processing 4 items in the auto reindex cache for '192.168.124.252'.
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[30] OID: .1.3.6.1.2.1.1.3.0, output: 125768003
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[25] OID: .1.3.6.1.2.1.1.3.0, output: 125768003
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[24] OID: .1.3.6.1.2.1.1.3.0, output: 125768003
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[9] OID: .1.3.6.1.2.1.1.3.0, output: 125768003
2018/01/16 09:50:01 - POLLER: Poller[1] Device[10] STATUS: Device '192.168.124.252' is UP.
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[8] OID: .1.3.6.1.2.1.1.3.0, output: 125768001
2018/01/16 09:50:01 - PING Device[10] SNMP: Device responded to SNMP
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE DQ[1] OID: .1.3.6.1.2.1.1.3.0, output: 125768001
2018/01/16 09:50:01 - POLLER: Poller[1] Device[34] RECACHE: Processing 6 items in the auto reindex cache for '192.168.124.253'.
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_context in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_priv_passphrase in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 78 CactiErrorHandler)(/lib/functions.php: 4434 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP NOTICE: Undefined variable: snmp_auth_protocol in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 78
2018/01/16 09:50:01 - CMDPHP PHP ERROR WARNING Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 47 CactiErrorHandler)(/lib/functions.php: 4429 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP WARNING: Missing argument 11 for ss_netsnmp_memory(), called in /var/www/var/www/cacti/script_server.php on line 223 and defined in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 47
2018/01/16 09:50:01 - CMDPHP PHP ERROR WARNING Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 47 CactiErrorHandler)(/lib/functions.php: 4429 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP WARNING: Missing argument 10 for ss_netsnmp_memory(), called in /var/www/var/www/cacti/script_server.php on line 223 and defined in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 47
2018/01/16 09:50:01 - CMDPHP PHP ERROR WARNING Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 47 CactiErrorHandler)(/lib/functions.php: 4429 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP WARNING: Missing argument 9 for ss_netsnmp_memory(), called in /var/www/var/www/cacti/script_server.php on line 223 and defined in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 47
2018/01/16 09:50:01 - CMDPHP PHP ERROR WARNING Backtrace: (/script_server.php: 223 ss_netsnmp_memory)(/scripts/ss_netsnmp_memory.php: 47 CactiErrorHandler)(/lib/functions.php: 4429 cacti_debug_backtrace)
2018/01/16 09:50:01 - ERROR PHP WARNING: Missing argument 8 for ss_netsnmp_memory(), called in /var/www/var/www/cacti/script_server.php on line 223 and defined in file: /var/www/var/www/cacti/scripts/ss_netsnmp_memory.php on line: 47
2018/01/16 09:50:01 - POLLER: Poller[1] Device[7] DS[118] CMD: perl /var/www/cacti/scripts/ping.pl 'www.google.de', output: 31.292
2018/01/16 09:50:01 - PHPSVR DEBUG: PID[87070] CTR[0] INC: 'ss_netsnmp_memory.php' FUNC: 'ss_netsnmp_memory' PARMS: ''192.168.124.35' '2' 'public' '161' '10000' '' '''
Re: better ucd/net-snmp memory usage -- update June 21 2009
Can you post an issue on https://github.com/netniV/cacti-netsnmp-memory/issues ? That way I can track it properly.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Cacti User
- Posts: 151
- Joined: Mon Feb 05, 2007 3:57 am
- Location: Munich, Germany
Re: better ucd/net-snmp memory usage -- update June 21 2009
Hi again,
I get another error with a host with snmp v3 config, i got 0 values for all fields if i run query from console and graph remain empty, if i switch to snmp v2 all works fine.
I'll open a issue on github asap
Also i've applied fix#1 for previous issue and all works fine with no error on cacti log
Thanks again for your work
+++ EDIT ++++
Issue opened on github
I get another error with a host with snmp v3 config, i got 0 values for all fields if i run query from console and graph remain empty, if i switch to snmp v2 all works fine.
I'll open a issue on github asap
Also i've applied fix#1 for previous issue and all works fine with no error on cacti log
Thanks again for your work
+++ EDIT ++++
Issue opened on github
Re: better ucd/net-snmp memory usage -- update June 21 2009
Thanks for that, I'll follow up on there.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 2 guests