General :: Resolve Nagios Port Status Snmp Trap?
Jan 8, 2011In cisco 6509 switch port 1status is being traped it is showing "SNMP CRITICAL - *down(2)*"
View 2 RepliesIn cisco 6509 switch port 1status is being traped it is showing "SNMP CRITICAL - *down(2)*"
View 2 RepliesI'm trying to get SNMP setup so I can send custom snmp trap messages. I followed this "How to" [URL] and I think I have it setup and working. This is my fist time messing around with SNMP, and I don't know where to check to see if I received the trap message. Do the snmp trap message even get logged any where?
View 1 Replies View Relatedhow can I configure snmp and snmptrap to receive a trap when the used disk (/home/linux) is 20%
View 1 Replies View RelatedI wanted to know is there any way to send a content of a file as snmp trap with snmpd agent of linux?
View 3 Replies View RelatedI want to generate snmp trap when cpu usage is high..me how to configure snmpd.conf....to generate this trap...
View 2 Replies View RelatedI have installed Nagios Core 3.0 (latest version) and currently monitoring more than 80 hosts (servers, desktops, routers and switches).
Everything is fine but status map options are very few and you cannot customize them. all the views are very wierd.
I am trying to use NEXSM but it seems some complex. good solution to imrove the nagios status map.
I have recently set up nagios on a ubuntu server (9.10), and set it up to monitor all the servers, switches etc, following the quickstart guide provided on the nagios website.My problem is this:I have setup the nagios-plugins, and tried to set it up to monitor the network switches via SNMP but receive the following within the nagios web interface:SNMP problem - No data received from host I tried it from the command line, and got the exact same error.Is there some further configuration I need to do to be able to get this data?I've used up all my google-fu, and read over everyone else's problems on every forum I could find, but to no avail.
View 6 Replies View RelatedI 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]....
Iam using snmp to access the remote system data.But according to the requirement iam encoding the snmp request data to OAMPDU packet format and sending to remote system.the remote system receives the OAMPDU packet,decodes it and is sending the snmp packet to snmp agent through UDP socket which is bind to port 161.but iam unable to receive the response from snmp agent.i have created a udp socket which is bind to 161 port to receive the response.
if i use any other free port number other than 161 for receiving snmp agent is not sending the response to that port.can any one please suggest me how to overcome this problem.Can we configure the different ports for tx,rx ?How do we know on which port does snmp sends the response ???
I 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]....
I am getting "child returned status 1" error when I try to tar some downloaded files. This is what I do:
tar xvzf nagios-2.10.tar.gz (I downloaded this file)
In my linux machine i installed snmp and try to change the port number, but i got the following error" snmpd dead but subsys locked "in /var/log/messages Error opening specified endpoint "udp:1161"Server Exiting with code 1
View 4 Replies View Relatedi want to port snmp-5.5 into dm6467.so i configured net-snmp for target.when i cross compiling netsnmp for dm6467,i am getting this error
mibII/at.c: In function `ARP_Scan_Next':
mibII/at.c:738: error: `ifIndex' undeclared (first use in this function)
mibII/at.c:738: error: (Each undeclared identifier is reported only once
mibII/at.c:738: error: for each function it appears in.)
I am writing some application in C, which will access a serial port device (RS232). My application is working good. But if any other application is already opened the port, I couldn't able to identify that. In windows VB program, while accessing comport through mscomm control, i am receiving an error as "Port Already Opened". But in Linux environment, through C program how can i get that? I am accessing comport 1 as follows
fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_SYNC);
I am trying to monitor a Windows SQL Server, and I am receiving a "Server port must be an integer," error. NSclient++ is running and working properly. Here is the service and command
Command:
define command{
command_name check_nt_mssql_bufcache_hits
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ }
Service:
define service{
use generic-service
host_name "host_name"
service_description mssql_bufcache_hits
check_command check_nt_mssql_bufcache_hits!80!50 }
How to see the code behind the nagios plugin: Nagios Checker? I opened the folder which i have downloaded. After that where do i have to go to see the codes? Is it in App_Codes?
View 14 Replies View Relatedconfigure nagios to monitor custom port on a remote linux server..
View 5 Replies View RelatedEvolution has balked at every webaddress I've thrown at it: Example: Code: Could not connect to imap.google.com (port imaps): Host lookup failed: imap.google.com: Name or service not known same thing happened for smtp as well as the canonical names provided by nslookup.
I was able to succeed in connecting my email finally by using the IP provided by nslookup, but still am unable to get my google Calendar to connect: Code: Cannot open calendar: Unexpected HTTP status code 2 returned (Cannot resolve hostname (www.google.com)) No proxy settings configured in Evolution or Fedora and none needed. Lemme know what else I can provide.
I'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 would need to monitor the status of an electric relay. To do so I was thinking the serial port and perl (as I don't know C ) how to check if a switch connected to a serial port is open or closed. Here is my plan, I'll plug a electric relay on the electric network and monitor the state of the switch. if the switch is closed, that mean that we are on the electric network if the switch is open that mean that we are on our diesel power generator.
PS: There will be no voltage input involve (although I can if that's required)
I'm planning to use this with Nagios to know if we are on the electric network or on our diesel power generator.
So we monitor all of our disk space, but only get pages for critical. What we would like to do is have one email sent to our team every month with all the "Warnings" for our disk. I have been searching and haven't found a way to do this. Any suggestions?
View 1 Replies View RelatedI have reinstalled CentOS 5.5 on my un-managed VPS. Everything is fine except port 80
I am trying to access IP address in Internet Explorer but seems port 80 is not accessible.
I have checked by changing Listen 80 to Listen 90 in httpd.conf
and accessed the ipaddress with port 90 i.e. 208.89.213.70:90 and apache page was displayed
I need help on how to resolve this issue
Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' for reading!
View 2 Replies View RelatedI would like to learn the right way, or some neat technique, to discover why a compiled-from-source application just unaccountably quits. it it easy enough to discover that the pre-compiled version from Ubuntu does work just fine. My motivation is to explore, and maybe try to modify it a little for myself.
At my level of programming expertise, I have often used the "sh configure, make, make install" route; and sometimes made small changes to the code eg. changing a window size and similar. C and C++ tutorials teach the main rules, but I am no expert at classes, structures or obscure expression tricks.
The application is a QT type called "qantenna", used for electromagnetic simulation of antennas. The source I downloaded from SourceForge. Although a KDE application, the repository version seems to run just fine on my Ubuntu 9.10 Karmic (soon to become Lucid), on its Gnome desktop.
The compiled version behavior is that the main window opens and runs OK, with the GUI view operating with fully alterable views. As soon as a valid antenna file is loaded, the whole application instantly quits.
How does one deal with an application that gives no chance to catch it doing things wrong?
Code:
#!/bin/sh
onexit()
{
echo "Error At line - $1"
}
[Code].....
What I want to do is to make the onexit function to handle any generic error that comes during script execution. I am not thinking about using 'set -e' since it will cause a quick exit. I did 127, because I wanted my script to handle atleast the command not found error. I am not thinking about handling any interrupt or any other signal at the moment.
I want to add a few linux server to our monitoring system (solarwinds).
We have to get this information by snmp.The items we need are:
1-In Byte Transferred on every network interface
2-Out Byte Transferred on every network interface.
3-Memory Usage
4-Memory Free
5-CPU usage
6-Free Disk space on partiotion
7-Uptime
I could not find snmp OID or names for this object to fetch.
I've got a new install of the following...
[root@big-bad-joe /]# more /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
------------------------------------------------------------------
[code]....
Quote: Attackers are constantly changing their tactics and adapting to what the security community and researchers are doing, and it's not unusual for the bad guys to adopt techniques used by their adversaries. The latest example of this is a malware gang that has deployed what amounts to a honeypot designed to monitor the activity of researchers or other attackers who try to access a command-and-control server.
View 1 Replies View Related#!/bin/sh
trap "echo Haha" SIGUSER1
echo "asit"
count=1
while [ $count -le 10 ]
do
echo "Loop #$count"
sleep 10
count=$[ $count + 1 ]
done
echo "This is the end"
Why this is showing following error?
trap: 3: SIGUSER1: bad trap
I have been trying to set up SNMP monitoring using Cricket. I believe I have Cricket running fine, however I also believe that I have SNMP set up wrong. When I do an SNMPWALK I get the following:
[Code]....
This tells me I have SNMP running, however I would expect to see a lot more data... Am I correct, should I see more data? I spoke to a friend, and he suggested that I have something not set up correctly in SNMP dealing with the community string...