Server :: Where Are MIB Files For OIDs Reported Through Snmpd?
Mar 22, 2011I want to find the mib files where the OIDs used in snmpd are. Where can I find those mib files?
View 1 RepliesI want to find the mib files where the OIDs used in snmpd are. Where can I find those mib files?
View 1 RepliesI have six linux Centos 5.0 Servers. I had to configure the snmp client. I just created a pretty basic configuration snmpd.conf file
Code: rocommunity CompanyCom 10.1.1.10
I installed all of these
lm_sensors-2.10.7-4.el5.i386.rpm
net-snmp-libs-5.3.2.2-7.el5.i386.rpm
net-snmp-5.3.2.2-7.el5.i386.rpm
net-snmp-utils-5.3.2.2-7.el5.i386.rpm
4 of them are working fine, the application installed on 10.1.1.10 can query 4 servers but I got 2 Linux Centos that are in a DMZ, and my networking team already opened ports and configured NAT but the SNMP Server 10.1.1.10 is not able to query them how can I check the snmpd is really running apart from service snmpd status? might be related with the DMZ configuration?
My Objective is to add Private MIB and compile that file and perform snmpget and snmpset operation. My MIb file contain this macro
[Code]...
Next I try to cmpile using mib2c highCpuUsage. it's give template code for that. I read all the tutorial and copy in /mibgroup and restart snmpd service and try snmpwalk ,snmpset but it�s not work and in var/log/messages its give Out of Memory: Killed process 8005 (snmpd)
I inherited a centos 5.2 server at my work. I didn't know anything about it when I got it except that the fate of the organization rested on my ability to manage it. I've gotten along fine with it. I don't really like it, but it mostly works. I learned a lot in the process. Anyway, I went bought some more ram for the box because, hey, it's a server and it will serve faster with more RAM. So it had 3x512mb and I took out one of the 512mb and put in 2x1gb (it's only got four slots). I rebooted and and top reports 1585152k of ram. It should be 3gb. So I haul out a monitor and keyboard because I want to see if the BIOS sees more. Sure enough, on boot I arrive at a grub/centos boot screen and it says somewhere that I have 3gb, I boot and top still reports 1585152k.
How do I make this computer realize it has more RAM?
I am having a strange problem on my private nameservers registered with godaddy. There are around 10 domains right now which are using my nameservers ns1 & ns2. After the setup of my nameservers, domains. I checked that the domains are resolving good to the mentioned IP addresses which I mentioned in the zone files but when I am checking the domains on it is showing "Missing nameservers reported by parent" error. I don't know why it is reporting me this error.For example I checked one of my domains spurstone.com & I got the above mentioned error. Although whois database is giving correct results with nameservers NS1.INDEPENDENTADVISORONLINE.COM & NS2.INDEPENDENTADVISORONLINE.COM
View 1 Replies View RelatedI set up an exim4 server successfully and was able to send/receive mail! I fired off a couple emails to my friend and never got a response. Oh well, I thought, must be because my domain name might be considered spam.Flash forward to today and I get an email from the people who host my server, telling me that I have left my exim4 relay open. Looking through some of my users' email, I see a series of messages with the subject 'Message frozen':
Code:
Message 1QCCQJ-0004FP-OY has been frozen (delivery error message).
The sender is <>.
[code]....
I'm trying to find the full numeric OID's for a device. I'm able to do an snmpwalk on the device and get a ton of data, however, I don't want the pretty names, I just want the numeric OIDs. I would have thought this was relatively easy, and I'm sure I did it years ago.. but for now, I can't find a "built-in" way to do it.
Currently using net-snmp..
I get:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (23800418) 2 days, 18:06:44.18
I want:
.1.3.6.1.2.1.1.3.0 = Timeticks: (23800418) 2 days, 18:06:44.18
There is a centralized FTP server which are accessed by clients to develop some web development project and to achieve this the clients are using ftp service. The problem is when they are trying to copy any files and directories they are getting the following error: "Message reported from the file system: FTP copy not supported,use move instead"
I've checked all the permissions and they are all OK. I don't know why this is happening. they can create and move files and folders but can't copy files and folders.
I have a problem with snmp answers being empty or having spaces.
What I already have:
#get all interface indexes (if you wonder - I'm working for a cable company and different cablemodems have different number and types of interfaces):
The problem is the physical address which is sometimes empty and the description which has spaces. So I'm doing 2 snmpgets which is slower than 1 snmpget (sometimes I have up to 18 interfaces).
I'm trying to explain it a bit simpler.
Interface 5 gives me back the following lines:
Ethernet CPE Interface
Now the first line should go into variable ifadm,
2nd line should go into variable ifoper,
3rd line should go into variable ifspeed,
4th line should go into variable iftype,
5th line (which is empty) should go into variable ifphys and finally
6th line (which has spaces) should go into variable ifdescr
I would like to know if what this log error mean and how i can resolve this matter. I would like to verify if this is a misconfiguration or a bug on my settings
the log error is:
snmpd:error parsing ', skipping
the RHEL version used was 4 update 4 64 bit
the snmp packages installed were:
net-snmp-5.2.1-0.2
net snmp-lib - 5.1.2-11
net-snmp-lib - 5.2.1-0.2
All, i am receiving numerous entries for programs such as snmpd in my messages file. Is there a way to add a rule somewhere to have these and other annoying unimportant entries go to /dev/null or something?
I tried adding an entry to /etc/syslog.conf, but that hosed any logging into the messages file, so maybe i added it wrong?
I want to try and do this with out installing anything additional.
I m trying to find an answer for this matter. I have download the SNMP version which I am concerned due to the following problems. I am trying to configure the SNMPD.conf and I cannod find any tutorial on the internet.
I downloaded the following product.
Linux version :
Linux version 2.6.18 (root@srv03) (gcc version 3.3.6) #1 SMP Sat Sep 23 19:32:53 BRT 2006
SNMP
net-snmp-5.4.2.1-i486-1_slack12.0.tgz
when I run the command snmpd I have the following problems
root@srv03:~# snmpd
snmpd: /lib/libc.so.6: version `GLIBC_2.4' not found (required by snmpd)
I dont know how to configure the SNMPD.conf there is anyway
I am using the "extend" function of snmpd to run a script in order to extend a monitoring platform. This script being ran by snmpd needs to write to a file in /tmp for later parsing, but SELinux is stopping it from writing to the file under /tmp. The following two lines from my audit.log file show what is happening:
Code:
type=AVC msg=audit(1281516573.123:18422): avc: denied { write } for pid=6933 comm="test2.sh" name="tmp" dev=dm-0 ino=1474561 scontext=root:system_r:snmpd_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir
[Code]..
When building 8.04 servers, I reconfigure snmpd's logging options to prevent copious low priority messages being logged whenever our network management workstation polls them. I edit /etc/default/snmpd and change line 11 from:
Code:
SNMPDOPTS='-Lsd -Lf /dev/null ...'
to:
[code]....
I'm really new to Linux and I badly needed some help.
I can't find the possible cause of this error log:
snmpd: error parsing '', skipping
RHEL version: RHEL4 ES Update 4 64-bit
version of snmp packages installed : net-snmp-5.2.1-0.2, net-snmp-libs-5.1.2-11, net-snmp-libs-5.2.1-0.2
I have noticed this now for the 125 time that when you mount a volume and use mount to see if it is ro or rw, it says rw, but actually is read only.
Why is mount reporting it wrong?
systema3:/vol/mysql_vo2 on /mnt/mysql2 type nfs (rw,addr=192.168.10.82)
vs
failed to change ownership of `/mnt/mysql2/.snapshot/hourly.5/v240-2-bin.058' to mysql:mysql
chown: changing ownership of `/mnt/mysql2/.snapshot/hourly.5': Read-only file system
I installed Fedora 15 twice last night because I thought I had screwed up the installation somehow when I ran a df -h and found that it reported all my LVM partitions twice (/, /home, and /var) and it also showed /var/tmp mounted on the same logical volume that /var was mounted on (lv02 = /var AND lv02=/var/tmp). I've never seen this before and it definitely didn't appear like this in Fedora 14. Is this something new to Fedora 15?
View 2 Replies View RelatedI was struggling to find the information so I thought it would be easier to ask here. What does the load average as reported by top mean ? To me those are 3 mysterious values, which most likely refer to some average CPU usage and this is all I know about it (not sure if it's true).What is the maximum value for this parameter (I guess the minimum is 0.00) and what does it mean ?
View 5 Replies View RelatedToday, someone who had problems with his usb flash drive showed it to me. I plugged it in my linux box.
Code:
cat /proc/partitions
only showed
Code:
sdb
and no partition name (sdb1, etc.). So I ran fdisk on it I deleted all the partitions (4 in all) and recreated a single partition taking up the whole drive and marked it as c (win32 vfat) I exited fdisk (w) and formatted the new partition
[Code]...
incoming connections are not being reported to my /var/log/secure. I can't see if people are trying to connect. I can't troubleshoot because I can't do anything.
View 5 Replies View RelatedI've ran "powertop" on my computer and it showed horrible amount of wake-ups per second:
Code:
Cn Avg residency P-states (frequencies)
C0 (cpu running) (26.7%) 2.81 Ghz 100.0%
polling 0.0ms ( 0.0%) 1400 Mhz 0.0%
C1 16.2ms (60.5%) 1050 Mhz 0.0%
C2 0.0ms (12.8%) 700 Mhz 0.0%
350 Mhz 0.0%
Wakeups-from-idle per second : 63944.8 interval: 5.0s
no ACPI power usage estimate available
Top causes for wakeups:
45.1% ( 15.6) <interrupt> : pata_atiixp
26.0% ( 9.0) <kernel core> : hrtimer_start_range_ns (tick_sched_timer)
9.2% ( 3.2) <kernel core> : hrtimer_start (tick_sched_timer)
5.8% ( 2.0) <kernel core> : add_timer_on (clocksource_watchdog)
1.7% ( 0.6) <interrupt> : ohci_hcd:usb4, radeon, yenta
1.7% ( 0.6) Xorg : queue_delayed_work (delayed_work_timer_fn)
Suggestion: increase the VM dirty writeback time from 5.00 to 15 seconds with:
Echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
This wakes the disk up less frequently for background VM activity
Q - Quit R - Refresh W - Increase Writeback time
If I wait it decreases to 50000, but it is still huge!
Situation is duplicated after complete F12 re-install. All defaults are used and no changes performed after install. Just checked again and let computer run idle for a while. Powertop reports 79604 wake-up per second, even more than before. Again, the top cause is "pata_atiixp". Also, performing suggestions of powertop shown at the bottom of the program does not help either. That decreases wake-up by a few hundreds only. Wake-ups are still well over 50000.
I'm doing an distro upgrade from 11.2 to 11.3 and for the DVD drive, the repo URL comes up as dvd:/// in ast and zypper. However medium not read is being reported, forcing me to find out exactly what "dvd:///" is pointing to.
My DVD drive is certainly readable and mountable and sits at /dev/dvd (symlink for /dev/sr0). I usually mount it manually, but the problem here is I don't know how to find out what "dvd:///" represents.
When I setup Intrepid (upgraded to Jaunty now), I chose to create a swap partition. I don't remember the size I specified. Here's what I'm confused about When I do 'cat /proc/meminfo' or 'free' or use the system monitor, it reports my swap size as 1262304 KB (i.e. 1.2GB). But if I do a 'fdisk -l', the partition size is reported as 746991 blocks (of 1024 bytes) and if I use the partition editor it says it's 729.48MB. XP disk mgmt shows it as app. 700MB too
View 9 Replies View RelatedCurrently I am running Ubuntu on my laptop however my desktop is still XP pro. I want to move from XP to a Linux (Ubuntu) or Unix distro (BSD). My desktop is used as my ftp server, music/network storage, and for syncing my iPod with iTunes. The only thing that is keeping me from totally reinstalling the OS on that computer is iTunes. I know there are tons of applications out there that will sync your music to your iPod however I want to still be able to use itunesu and some other features in iTunes. My plan is to run a *nix os but have xp running in virtual box for iTunes. Has anyone else done this and if you have is it a huge pain? Is there a better way to go about what I'm trying to do? I have tried to get the newer iTunes installers to work with wine but I haven't gotten it to work yet. I get errors and the errors are reported bugs on winehq.
View 5 Replies View RelatedMy MP3 Player (Zen:Vision:M) has roughly 60 GB of space and yet Ubuntu insists only 3.6 GB is available. I know this is not true because in Windows the correct amount of room is displayed and can be filled up. Because my music collection is stored in my Linux partition I need to solve this issue if I'm going to actually use my MP3 Player. What is also interesting is the fact that the device doesn't show up in Gparted, System Monitor or fdisk.
When I attempt to look at the Zen's contents through Nautilus I get this message:
Error initializing camera: -1: Unspecified error
And when I update through Banshee every song gives an error of:
Argument cannot be null. Parameter name: obj
I have two HP Quard core high end server.
OS : Red Hat Enterprise Linux Server release 5.2 (Tikanga)
Kernel : kernel-2.6.18-92.el5
From last couple of days I found entry in dmesg:
Should require KERNEL upgradation.?
I am running CPU tests on a radio controller to determine max simultanious calls. A tool using top was developed so that we could get a good look at what exactly was happening on the process level, however we are mainly interested in one object running on the box.The box has a single core Celeron processsor running the Wind River Linux platform. The CPU usage from my object is frequently spiking over 100%. Doing some research online so far has led me to the fact that a multicore processor can do this however I have found no mention of a single core processor displaying this behavior.
View 6 Replies View RelatedI'm running 13.1 on a Dell Latitude D630 with 4GB of RAM. My problem is that Slackware doesn't seem to see all of the available memory. Here are the #s being reported (just including pertinent #s rather than all output)...
Code:
free -m
total: 3546
[code]...
On my dell inspiron laptop if I use a live cd to boot into Ubuntu and then reboot into Windows the computer freezes up within 5 minutes. I uninstalled everything that I had put onto my computer since I purchased it (less than a week ago) in desperate measures because I was ready to take it back and play stupid to get a replacement. Once I went on an uninstalling frenzy my problem was fixed, but I had to know if it was from a program I installed or the live cd I used so I tried it again and sure enough, within 5 minutes my computer was unresponsive. I was using usb flash drives for my live cd and this was on a different flash drive than the first. Just thought it should be known, and I'm not doing it again once I fix my less than a week old computer from this again.
View 2 Replies View RelatedAfter installing 64 bit 11.2 with no apparent problems: computer hangs up on desktop boot opensuse 11.2-2.6.31.5-0.1, however I can boot from failsafe opensuse 11.2-2.6.31.5-0.1. I had problems trying to install Ubuntu so I checked out the opensuse. I do not know if this is an easy fix! I decided to avoid buying anymore windows system software. I ran memory test with no problems. The firmware test reported 4 errors. I have windows XP installed on other hard drive - no problems there.
View 5 Replies View Related