network switch
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: network switch
i tried community JawwLsnmp and without dash, but the problem still.
Re: network switch
Did you try changing the community string on the device and the check, or just the check itself?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
abdelhafeth.mzahem
- Posts: 38
- Joined: Thu Jun 04, 2015 1:22 am
Re: network switch
Hi
It seems the problem is not in the community name as We change the SNMP configurations on both Nagios and device, but still have the same error.
Regards
Abdelhafeth
It seems the problem is not in the community name as We change the SNMP configurations on both Nagios and device, but still have the same error.
Regards
Abdelhafeth
Re: network switch
So if you run the command below it errors out as well?
- Make sure that your community is spelled properly and check capitalization on both devices and in the command below.
- Make sure that your community is spelled properly and check capitalization on both devices and in the command below.
Code: Select all
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:::::1'Re: network switch
Or with:
Code: Select all
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:::::2'-
abdelhafeth.mzahem
- Posts: 38
- Joined: Thu Jun 04, 2015 1:22 am
Re: network switch
Hi,
thanks for reply.
when we use the command :==> /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:::::1'
snmp error occurred, also with community "jawwalsnmp"
but when use the command :==> /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:::::1'
every thing seems ok and work as shown
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed 100000000 [email protected]:::::2
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
######################################################################
# System: NSFW-01
# Description: NetScreen-ISG 1000 version 6.3.0r10.0 (SN: 0133082006000261, Firewall+VPN)
# Contact: Hulul
# Location: JW-Edge-FW-HQ-DC
######################################################################
### Interface 1 >> Descr: 'mgt' | Name: 'mgt' | Ip: '192.168.1.1' | Eth: '00-10-db-c2-51-80' ###
Target[10.100.5.29_1]: 1:[email protected]:::::2
SetEnv[10.100.5.29_1]: MRTG_INT_IP="192.168.1.1" MRTG_INT_DESCR="mgt"
MaxBytes[10.100.5.29_1]: 12500000
Title[10.100.5.29_1]: Traffic Analysis for 1 -- NSFW-01
PageTop[10.100.5.29_1]: <h1>Traffic Analysis for 1 -- NSFW-01</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>NSFW-01 in JW-Edge-FW-HQ-DC</td>
</tr>
<tr>
<td>Maintainer:</td>
<td>Hulul</td>
..............................................
thanks for reply.
when we use the command :==> /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:::::1'
snmp error occurred, also with community "jawwalsnmp"
but when use the command :==> /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:::::1'
every thing seems ok and work as shown
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed 100000000 [email protected]:::::2
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
######################################################################
# System: NSFW-01
# Description: NetScreen-ISG 1000 version 6.3.0r10.0 (SN: 0133082006000261, Firewall+VPN)
# Contact: Hulul
# Location: JW-Edge-FW-HQ-DC
######################################################################
### Interface 1 >> Descr: 'mgt' | Name: 'mgt' | Ip: '192.168.1.1' | Eth: '00-10-db-c2-51-80' ###
Target[10.100.5.29_1]: 1:[email protected]:::::2
SetEnv[10.100.5.29_1]: MRTG_INT_IP="192.168.1.1" MRTG_INT_DESCR="mgt"
MaxBytes[10.100.5.29_1]: 12500000
Title[10.100.5.29_1]: Traffic Analysis for 1 -- NSFW-01
PageTop[10.100.5.29_1]: <h1>Traffic Analysis for 1 -- NSFW-01</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>NSFW-01 in JW-Edge-FW-HQ-DC</td>
</tr>
<tr>
<td>Maintainer:</td>
<td>Hulul</td>
..............................................
Re: network switch
Let's try to start "clean". Remove all traces of previous "10.100.5.29" configuration from the "/etc/mrtg/conf.d" directory and old mrtgscan files from "/usr/local/nagiosxi/tmp/ folder as described in our documentation here:
https://assets.nagios.com/downloads/nag ... Router.pdf
Rerun the switch wizard against the "10.100.5.29" device (use SNMPV2c) to see if this is going to fix your issue.
https://assets.nagios.com/downloads/nag ... Router.pdf
Rerun the switch wizard against the "10.100.5.29" device (use SNMPV2c) to see if this is going to fix your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
abdelhafeth.mzahem
- Posts: 38
- Joined: Thu Jun 04, 2015 1:22 am
Re: network switch
Hi
thanks for reply, I followed the document procedure to clean, and run the discovery again but also failed.
when we use the command :/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:::::1'
Error occured and no snmp response
but when change the flag at the end to 2 it works fine
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:::::2'
thanks for reply, I followed the document procedure to clean, and run the discovery again but also failed.
when we use the command :/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:::::1'
Error occured and no snmp response
but when change the flag at the end to 2 it works fine
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:::::2'
You do not have the required permissions to view the files attached to this post.
Re: network switch
Follow this process:
Go to the wizards and click Network Switch / Router Monitoring Wizard.
Click on the middle tab that says SNMPv2c.
Type in your IP address.
Type in the SNMP Community (don't use the one with the dash in it).
Set your Monitoring Options and your Value Defaults.
Click Next.
That should use v2c, the screenshot you posted looks like you were on the SNMPv1 tab when you clicked next.
If it still doesn't work, then go to Admin > System Extensions > Manage Config Wizards and click the Check for Updates button on the top right.
Scroll down to Network Switch / Router and click download.
Once it's downloaded, scroll back up to the top and browse for the downloaded file and click Upload Wizard.
Now try the process again.
Go to the wizards and click Network Switch / Router Monitoring Wizard.
Click on the middle tab that says SNMPv2c.
Type in your IP address.
Type in the SNMP Community (don't use the one with the dash in it).
Set your Monitoring Options and your Value Defaults.
Click Next.
That should use v2c, the screenshot you posted looks like you were on the SNMPv1 tab when you clicked next.
If it still doesn't work, then go to Admin > System Extensions > Manage Config Wizards and click the Check for Updates button on the top right.
Scroll down to Network Switch / Router and click download.
Once it's downloaded, scroll back up to the top and browse for the downloaded file and click Upload Wizard.
Now try the process again.
-
abdelhafeth.mzahem
- Posts: 38
- Joined: Thu Jun 04, 2015 1:22 am
Re: network switch
Thank you very much
It is working fine now

It is working fine now