HI,
I'm trying to automate some of our bandwidth monitoring
I see from the switch wizard that it uses "check_rrdtraf" but, it must also create the mrtg data first for this to work
I assume there is a cfgmaker command running somewhere in the wizard to create this?
Can you let me know what this command is? i.e. what switches/options it uses to generate the mrtg
Bandwidth wizard mrtg command
Re: Bandwidth wizard mrtg command
The command that creates the MRTG files is called cfgmaker and here are a few examples.
This is an example using SNMPv3 using AuthPriv which requires the username, passwords and protocols to be specified.
This is an example of SNMPv2 which only needs the community string.
For more command details, look at this link.
https://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html
This is an example using SNMPv3 using AuthPriv which requires the username, passwords and protocols to be specified.
Code: Select all
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed 100000000 --enablesnmpv3 --snmp-options=:::::3 --username=user1 --authprotocol=sha --authpassword=passprivate --privprotocol=aes --privpassword=passprivate --contextengineid=0 192.168.1.1Code: Select all
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed 100000000 [email protected]:161::::2https://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html
Be sure to check out our Knowledgebase for helpful articles and solutions!