Re: [mrtg] new interface setup

2018-02-15 Thread McDonald, Daniel (Dan)
It's unusual to have an authentication password without a privacy password.  
The default is md5 for authentication and des for privacy, so you may need to 
specify the authproto and/or privproto as well, as most modern devices default 
to sha and aes128.



On 2018-02-14, 13:03, "mrtg on behalf of Niall O'Reilly" 
 wrote:

On 13 Feb 2018, at 17:51, Jon Schwendemann wrote:

> config issue between the device and my command?
This.

The cfgmaker tool is independent of any running MRTG configuration.

You seem to have some discrepancy between the SNMPv3 credentials your 
command is using and those required by your device.  For debugging this 
problem, it may be less trouble to use the snmpwalk tool rather than 
cfgmaker. You can then use the latter when you have established which 
values you need to use in your command so as to satisfy the device.

Best regards.

Niall O’Reilly

___
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


___
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


Re: [mrtg] new interface setup

2018-02-14 Thread Niall O'Reilly

On 13 Feb 2018, at 17:51, Jon Schwendemann wrote:


config issue between the device and my command?

This.

The cfgmaker tool is independent of any running MRTG configuration.

You seem to have some discrepancy between the SNMPv3 credentials your 
command is using and those required by your device.  For debugging this 
problem, it may be less trouble to use the snmpwalk tool rather than 
cfgmaker. You can then use the latter when you have established which 
values you need to use in your command so as to satisfy the device.


Best regards.

Niall O’Reilly

___
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


[mrtg] new interface setup

2018-02-13 Thread Jon Schwendemann
So, I've been working on a new inferface. Trying to use currently working 
interface cgfmaker. When running my command, I get this:

NMPopen failed: Received usmStatsWrongDigests.0 Report-PDU with value 10 during 
synchronization
at /usr/bin/../lib64/mrtg2/Net_SNMP_util.pm line 1548
Net_SNMP_util::snmpopen('public@***.***.***.***:3:v4only', 
0, 'ARRAY(*)') called at /usr/bin/../lib64/mrtg2/Net_SNMP_util.pm line 
1656

Net_SNMP_util::snmpwalk_flg('public@***.***.***.***:3:v4only', undef, 
'HASH(*)', 1.3.6.1.2.1.1) called at 
/usr/bin/../lib64/mrtg2/Net_SNMP_util.pm line 766
Net_SNMP_util::snmpwalk('public@***.***.***.***:3:v4only', 
'HASH(*)', 1.3.6.1.2.1.1) called at /usr/bin/cfgmaker line 950
main::DeviceInfo('public@***.***.***.***:3', 
'HASH(*)', 'HASH(*)') called at /usr/bin/cfgmaker line 137
main::main() called at /usr/bin/cfgmaker line 155
SNMPWALK Problem for public@***.***.***.***:3:v4only at /usr/bin/cfgmaker 
line 950
WARNING: Skipping public@***.***.***.***:3 as no info could be retrieved

Edited for sensitive info.

Command being run is this:

/usr/bin/cfgmaker --global "WorkDir: /var/www/mrtg/alias" --enablesnmpv3 
--username=username --authpassword=password --contextengineid= 
--snmp-options=:3 --global "Options[_]: bits,growright" --global 
"WithPeak[_]: ymwd" --ifdesc=alias --output /etc/mrtg/mrtg_alias.cfg 
***.***.***.***

Do I have to modify a file on my mrtg server, before I can run this command, or 
is it a config issue between the device and my command?
___
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg