LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-22-2007, 04:37 PM   #16
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985

eth0 is not eth1 though. does eth1 exist?
 
Old 06-23-2007, 12:07 AM   #17
Lhlalyam
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
Acid_kepie

Sorry for the slowness on the obviousness of your question.... no... eth1 does not exist... it only has the one card...

Lhlalyam
 
Old 06-23-2007, 03:32 AM   #18
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
right so don't tcpdump on a non existant interface and you might get somewhere
 
Old 06-23-2007, 05:24 PM   #19
Lhlalyam
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
I don't understand why it would come up with the same error for both eth0 and eth1.

One thing that I want to try is access a windows machine for snmp information from my linux laptop. This way I can tell if my router is blocking such signals or ports.

Lhlalyam
 
Old 06-24-2007, 03:50 AM   #20
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
are you running tshark as root?
 
Old 06-24-2007, 06:58 PM   #21
Lhlalyam
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
Yes. Most of the work I do on the server is done as root. Would this cause the problem?

Lhlalyam
 
Old 06-26-2007, 05:16 PM   #22
Lhlalyam
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
Ok... I installed MIB browser on the windows machine and pointed it to the address: 127.0.0.1.... but nothing came up.. so... i know the agent isn't working there...

I installed MIB browser on my linux desktop and did a 127.0.0.1 and it worked... so... I also did the server address and it came up as well... so I know that the snmp signals can go through the router...

when i log into the cacti server to add devices... it does the search and doesn't find anything... even though snmp agent is working on my linux desktop...

Would this mean security is set in server blocking snmp?

Lhlalyam
 
Old 07-25-2007, 02:10 PM   #23
Lhlalyam
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
Talking [success]

Hello Acid_Kewpie

At last, I finally figured this thing out. Very slow... process of discovery... mind you, I only worked at it maybe a few hours a week.

My solution was to keep everything to public... and then enter the IP address for HostName...

I want to change HostName in the snmpd.conf but not to sure which entry to adjust. This is where I think I need to change it:

# Here is a commented out example configuration that allows less
# restrictive access.

# YOU SHOULD CHANGE THE "COMMUNITY" TOKEN BELOW TO A NEW KEYWORD ONLY
# KNOWN AT YOUR SITE. YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO
# SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE.

## sec.name source community
#com2sec local localhost COMMUNITY
#com2sec mynetwork NETWORK/24 COMMUNITY

## group.name sec.model sec.name
#group MyRWGroup any local
#group MyROGroup any mynetwork

This way I don't have to keep entering my ip address since my network is setup with a dynamic configuration. Is the red item the one I change?

Lhlalyam
 
Old 07-25-2007, 03:05 PM   #24
Lhlalyam
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Original Poster
Rep: Reputation: 15
Hello again.

I figured this one out also. Now I just need to figure out how to get cacti to identify the systems by hostname instead of ip address. Just such a hassle in a dynamic environment. Any suggestions?

Lhlalyam
 
  


Reply

Tags
cacti, fedora 6, linux, monitoring, network



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cacti installation on Debian Sarge: create cacti database error Yahweee Debian 2 08-26-2008 06:35 AM
LXer: Change Agents - people who will shape IT in the coming year LXer Syndicated Linux News 1 12-19-2005 10:12 PM
Webalizer truncates User Agents to 61 characters deoren Linux - General 4 01-17-2005 05:55 AM
Which mail agents should I use? orakio Linux - Newbie 2 03-13-2004 10:21 AM
agents jamna Linux - Newbie 1 11-29-2001 05:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration