CentOS 5 :: Install And Config SNMP In Web Server?
Feb 16, 2011How to install and config SNMP in my CentOS Web Server
View 1 RepliesHow to install and config SNMP in my CentOS Web Server
View 1 RepliesI'm trying to configure SNMP service to send traps to SNMP server. I've installed net-snmp-utils, now I need to configure the "snmpd.conf" file...
View 2 Replies View RelatedI was tryin to deploy svn on centos 5 with respect to [URL] I am stuck understandin the location svnpath parameter on svn config
[Code]...
i tried to configured snmp configuration for opennms monitoring tool to get disk alert ..when i entered the following command i doesint receive any sysobj id can somebody say how can i get my sysobjid in centos 5.4
View 2 Replies View RelatedI am having issues installing nagios-plugins using yum. Been using Suse don't have much experience with CentOS (CentOS release 5.2 (Final), ) Linux hoster 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 athlon i386 GNU/Linux It says
"Error: Missing Dependency: perl(Net::SNMP) is needed by package nagios-plugins"
Whereas net-snmp-perl.i386 is already installed.
yum deplist nagios-plugins
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
[Code]....
don't find box of BIND so i was posting into this boxI have some problem when i config bind DNS for my domain and then i can't start named,this's error message
[root@server1 named]# service named restart
Stopping named: [ OK ]
Starting named:
[code]....
I have a Bind DNS caching-only server setup that is working. I am bringing up a new AD domain controller that will also be a DNS server for that AD but I don't want it responding to any DNS queries except those that are AD related.So, my goal is to leave this caching server as the primary DNS server for stations on the network and have it forward requests for the AD domain to the domain controller.My understanding is that I just need a forward zone for that domain pointing to the domain controller. However it does not seem to be working.So that leaves me to think that my caching server is not forwarding properly.
For example, this AD is going to have a naming convention of hostname.mydomain.local.If I do an nslookup and specify the domain controller's IP address as the server, I can query addresses that exist in DNS on that server, such as dc1.mydomain.local.However, queries to my caching server times out (I get a response from the caching server if I query mydomain.local but none of the objects in that domain) Here is my named.conf file:
options {
directory "/var/named";
listen-on { 192.168.0.14; 127.0.0.1; };
[code]....
I'm trying to change some configurations but when I change it from the default options in main.cf, it doesn't actually update the running configuration. I've even restarted the server all together but it still doesn't update it.In main.cf, here is the configuration I've added:
bounce_template_file = /etc/postfix/bounce.cf
bounce_queue_lifetime = 4h
maximal_queue_lifetime = 4h
delay_warning_time = 1h
I am trying to see if a can get a centos 5.5 server setup as an smtp store and forward spamfilter by following the Centos Wiki and the freespamfilter.org guide by Mr88Talent at [url], which relates to another linux distro.
The spamfilter is essentially working! however, i have one issue with DCC.
test problem:
I'm not sure if anyone else would be interested in a Centos version of Mr88Talent's tutorial, but a very rough and completely untested first effort is available at the following url: [url]
Any opinions on this setup or just a total slating of everything i have done wrong would be welcome as i don't want to waste time trying to use a setup that is just not going to be practical or reliable to maintain / keep operational.
I have read that yum update can break this type of system - which concerns me.
The intended use of the spamfilter is for a small business (only about twenty e-mail accounts). However, they still need to reliably receive e-mails (hopefully with less spam though).
I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files. Here's my smb.conf as it stands.
[global]
workgroup = WGRP
server string = Samba Server Version %v
security = user
passdb backend = tdbsam
unix extensions = no
[tmp]
comment = Temp Directory
path = /var/tmp
public = yes
guest ok = yes
writeable = yes
browseable = yes
[sites]
comment = Sites Directory
path = /var/www/sites
public = yes
guest ok = no
write list = siteusr
writeable = yes
create mask = 0777
browseable = no
security mask = 0777
directory security mask = 0777
Note that the drive is mapped as user siteusr. What I can do to open it up more?
We have been struggling with a problem with the mysql-server package. This might be in the wrong category because our problems are with it on x86_64. Where the problem happens variables that should populate from the my.cnf don't, on other servers, they do, the my.cnf files are identical except for the server-id
The problem occurs on some of our machines but not others. All are using the mysql-server-5.0.45-7.el5.x86_64 The ones that work, when you connect with a client respond with server version 5.0.45-log source distribution The ones that don't work respond with 5.0.45 source distribution
It's unclear what the differences are between the two source versions and how we wind up with two different versions. One thing that might be involved, the mysql package is installed with both the i386 and x86_64
I have a lightweight admin background, but good enough to set up most servers. I have switched from sendmail to postfix for the first time, but I keep going around in circles on the following...
In sendmail, I used to maintain a table (mailertable) where I would redirect email like this
Quote:
I had a server that I use for Radius DNS and Trying to put DHCP on it I have My pool in it seems right. I have 2 adresses aliased one being a helper IP that the router will send the request to. When I try to start the dhcp server I get the following.
Mar 31 14:33:11 rad2 dhcpd: No subnet declaration for eth0 (76.164.173.2).
Mar 31 14:33:11 rad2 dhcpd: ** Ignoring requests on eth0. If this is not what
Mar 31 14:33:11 rad2 dhcpd: you want, please write a subnet declaration
Mar 31 14:33:11 rad2 dhcpd: in your dhcpd.conf file for the network segment
Mar 31 14:33:11 rad2 dhcpd: to which interface eth0 is attached. **
[Code]...
We have a squid-proxy configured with 1 delay pool to limit the bandwith to 6M. I have to create a kind of exception for a specific
remote host for which we want to reserve 1M which is not included within the 6M. How should I do that? Here is our actual configuration of the delay pools
acl all_network src 0.0.0.0/0.0.0.0
delay_pools 1
delay_class 1 1
[code]....
Yesterday I installed a new server with a large partition for my XEN images. This partition is a about 930GB. The installation tooks ages and after he finished I was finding out why that is. The SoftRAID1 I configured is rebuilding the large partition.
View 7 Replies View RelatedIn a nutshell, my situation is that I need snmpgetnext. My understanding is that this should be installed with net-snmp (net-snmp.x86_64 specifically); this is not occuring. I cannot use it as a command, and I have tried quite a few searches (whereis, find / -iname "snmpgetnext", "snmpget*" | grep next, "*next*" | grep snmp, and a host of similar oddities). Can I find snmpgetnext in a yum repository, preferably an official one?
More specifically, I'm using a software package that requires CentOS with kernel 2.6.18-53.somethingorother. This is a separate issue that has been brought up with the vendor. Generally this just means I install CentOS 5.1 and don't do a full upgrade. we are monitoring with Nagios. The Nagios check_snmp plugin won't compile without a valid path to snmpgetnext, which I can't get to install. This is severly hampering my ability to monitor the server.
I am trying to monitor a Centos 5.3 box using SNMP and I am having a lot of trouble getting the data that i need from it. Everytime I try to get information from the UCD-SNMP MIB it returns "End of MIB". It is my understanding that UCD-SNMP is a standard package when Net-SNMP is installed and should always be there. Then why can't I access it? I have tried removing the reinstalling Net-SNMP, but that hasn't worked. My server is update date on all it's patches as well. It is quite old hardware, but I don't believe that should affect SNMP from being gathered. Iptables is down, and I cant' even get it from the local machine.
View 1 Replies View RelatedI have 2 Centos 5.2 install that cant be snmp queried from another machine and I am unsure of what to check next.
To make sure it was not an incorrect iptables rule i temporarily turned off iptabes with the same results. I have checked the hosts file and it is correct on both machines.
I would like to monitor a RedHat via snmp. I would like to make available data via snmp. The data that I would like to graph are only present in logs file. Is it possible to parse data from applicative logs and have them available for my cacti server via snmp? I already monitor CPU, mem, and others with cacti using the standard MIB.What would be the logical step I would need to achieve that?
View 1 Replies View RelatedI just installed the snmp packages on Centos 5.2, and when i tried to use the snmpwalk command, the data is not showing and i got this error: No more variables left in this MIB View (It is past the end of the MIB tree).
View 1 Replies View RelatedI am trying to configure SNMP server using xinetd on red hat. I am using non-standard port for it. My connection to server fails. I see the following log messages in /var/log:
Jan 26 17:23:31 [userid] xinetd[15023]: START: my-snmp pid=15047 from=192.128.11.21
Jan 26 17:23:31 [userid] xinetd[15023]: EXIT: my-snmp status=1 pid=15047 duration=0(sec)
Jan 26 17:23:32 [userid] xinetd[15023]: START: my-snmp pid=15050 from=192.128.11.21
Jan 26 17:23:32 [userid] xinetd[15023]: EXIT: my-snmp status=1 pid=15050 duration=0(sec)
can anybody help to point out what is wrong in my config?
[Code]...
I have installed opennms and net-snmp-5.5 in ubuntu9.10.Both are working properly but, i dont know how to get snmpwalk,snmpget,snmpset outputs in opennms.
View 3 Replies View RelatedI am using orion snmp monitor in my network and I have no problem with windows systems but linux systems have some problem first of all snmp monitor shows cpu load on 100% all the time that is completely wrong and secong my snmp monitor can just show cpu and memory and response time information of linux systems and not disk information and nothing more. this is my /etc/snmp/snmpd.conf file content:
com2sec paranoid default public
group MyROSystem v1 paranoid
group MyROSystem v2c paranoid
group MyROSystem usm paranoid
group MyROGroup v1 readonly
[Code]....
all I want is for my server to send hardware alerts to the snmp manager.
Is a snmpd.conf like this ok?
rwcommunity name1
rocommunity name2
trapcommunity name3
trapsink ip_of_manager
syscontact me
syslocation my_addr_and_phone
[Code]...
I am having trouble getting nagios to work with snmp using the 'check_snmp' plugin.I am trying to run the plugin from the terminal and getting:
Code:
root@NAGIOS:/usr/local/nagios/libexec# /usr/local/nagios/libexec/check_snmp -H 172.xx.xx.x -c nagios -o sysDescr.0
[code]....
I installed MRTG some hours ago. Everything works fine (disk, cpu,..), except the network graph.
For this graph, it's only work for ~3 cycles (15min), then... nothing.
This is the part of mrtg.cfg:
Code:
The number for eth0 is 3
Code:
SNMP is running:
Code:
Crontab is configured for mrtg (and seems it's not the problem because the other graphs works well):
Code:
In attachement is the graph for the memory (working!) and .. for the network, as you can see, only one small pic at the beginning.
am not able to install snmp in ubuntu, this is the code i followed from ....., "apt-get update and then apt-get install snmpd. the problem occurs is "could not resolve sg.security.com" and i cant updates using update manager.
View 4 Replies View RelatedI've tried to read many of the topics in this forum first and tried to find a solution to my problem, but can't find one.I'm testing CentOS 5.5, it's the first time I'm using a CentOS Linux release.I'm trying to configure the proxy "client side " on it and cannot find how to do it.On other Linux release I've used the ENV variable like "http_proxy" or "HTTP_PROXY" etc etc.This time, I don't know why but it doesn't work.I've put the name and @ip of the proxy in /etc/hosts and tried different version upper/lowercase of "http_proxy" "HTTP_proxy" "ftp_pr.." but it doesn't work.If I configure manually Firefox and puting the name or @ip of the proxy we have on our network, it works.But if I try to use ENV variable it doesn't work...
View 1 Replies View Relatedfinnaly i can run my ubuntu server 9.04 well, thnx to this great member of ubuntuforums.org now, i wanna i wannna install SNMP on my system, but after i do that, when i wanna connect with another client, it give me error like this :
Code:
no response received
SNMPv1_Session (remote host: "10.100.7.179" [10.100.7.179].161)
community: "public"
request ID: 862383236
PDU bufsize: 8000 bytes
[Code]...
10.100.7.179 is my client, i allready install snmp agent on it. but why still eror then? plz give some help. thnx before
I am looking to build a dedicated syslog-SNMP server with remote web interface and I would appreciate a discussion from our community on recommending the best solutions to deploy. I would like to be able to create an opensource architecture I could easily duplicate for multiple stand-alone customer environments.
View 1 Replies View Related