Networking :: How An Agent Itself Generate Trap On Some Particular Situation Arises
Oct 15, 2010how an agent itself generate trap on some particular situation arises
View 1 Replieshow an agent itself generate trap on some particular situation arises
View 1 RepliesI 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'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 RelatedThis worked fine in 9.04, but doesn't in 9.10 (fresh install).
If I tell my ssh-agent about a private encrypted key via "ssh-add .ssh/mykey" then everything works fine.
But if I log out and then log back in it's not there and there is no Gnome prompt to ask for the password to decrypt. So I have to do an "ssh-add" everytime I log in.
I work on Linux Regression testing and I am writing a script to automate(shell scripting) the netperf tool when I need to determine the performance(throughput) of agent and client(individually) and I shall be running a shell script on (lets say) client first. But how to obtain the synchronization between them both as I need to execute a command even in board(agent) side to get the script going.
View 1 Replies View RelatedCan't connect to master agent: netstat -an | grep master gives me unix 2 [ ACC ] STREAM LISTENING 451121 /var/agentx/masterand if I run snmpd -f -Le -Dagentx I get:
agentx_register_app_config_handler: registering .conf token for "agentxsocket"
agentx/subagent: init_subagent sess 08052880
agentx_register_app_config_handler: registering .conf token for "agentxsocket"
[code]....
I have to fetch the information present in MIB of network agent.. i dont how to strat my program. pls text one sample program.
View 3 Replies View RelatedI've had a fair share of experience with Unix, but am humble and didn't see a better place to put this.
Bear with me here:
I am in a situation where I will be without owning a computer for a while. I have a 16GB SDHC which uses very little space for music/photos/game-saves and I wanted to use it along with a USB card reader to boot into a Live USB distro. I've tested with Ubuntu flavors and things work great. But after doing some reading, I found that the constant read and write is hard on any flash drive (not to my surprise).
I have decided to use a LiveCD instead, and see if I can allow persistence on my USB/SDHC setup instead. I absolutely need to virtualize a Windows XP machine within the Linux distro and be able to save some stuff.
For starters, what is the best distro for me? I'll be using it mostly for programming and the shell, so a fancy desktop isn't really needed (but man does Ubuntu look nice). I'm just making sure I can install and run programs from an SDHC in the way that I want.
I 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?
I had serious problem with recording from tv via tvcard. My new distribution is Fedora 13 and the recording program is mencoder. The tvcard is Pinacle 110i. I recorded without problem when ripping from dvd, but when I tried to record from tv, I becam the answer: no /dev/dsp ... cannot open the demuxer. First I thinked that the problem cam from alsa settings, so I searched a while about this. And I didn't found alsaconf, like in Mandriva.So, after searching, I found the solution.
1. As root, issue the command
#modprobe saa7134 card=77 tuner=54
#modprobe saa7134-alsa
[code]....
How to generate ARP since i started aireplay-ng in ARP request replay mode by using the command :
And i got no arp`s. Screen looks like this :
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 need to install ubuntu or edubuntu (preferably) on an older computer (256 ram) whose cd rom is shot, but the USB ports work! The family has 2 kids and the parents are very computer illiterate and know NO English. The kids' future is dependent on learning English. The grandfather is illiterate in his language! They are not down and out people, but they could use some help, if you know what I mean! I do have an external DVDRW drive and 2 computers where Ubuntu Maverick and Lucid have been installed. I will be about 300 km from them to give support. I have 2 days Monday to Wednesday next week to install Ubuntu or edubuntu.
I read on the internet 3 solutions, one of them offering a USB fix, which I am not 100% clear on: [URL] I do not know how to program and am far more comfortable around a GUI, even though I sometimes venture off using the terminal (albeit, copying and pasting codes that other provides and that often I only get half the meaning of). The USB stick option seems to be one of the best solution at this time because I have tested it in the past! The computer has suddenly crashed (I had installed Windows in a multiple user/password mode), but one of the kids (older) was using games from friends' usbs (maybe full of virii)! Maybe the crash is a hardware crash as surges are common in the area. (I will be able to check for that using some kind of software if I can boot the comp.) After installing Ubuntu succesfully on two more recent computers already, I think Ubuntu or edubuntu might be the best solution for this situation. I am also 300 KM from being able to help out these people!
I have a few questions at this time. If the option of basically using one computer's image (ubuntu Maverick) that I have installed with all the packages that come with it (solution 1) is a viable one, how am I going to deal with the difference in hardware between the two computers. DOn't they need "drivers" and packages related to these specific components? Could I use the external dvd drive? If so, how can I get the old computer to recognize it. Assuming I can make it work again, would I need to download (beforehand) the windows drivers/files needed? Install them which might help if I want to use it to install the ISO image. I am not thinking about a dual boot since space is an issue and windows is a bad option anyway (virii).
Server (LVM):
500GB
320GB
I want to install a new 500GB and remove the 320GB, of course moving the data on the 320GB to the new 500GB. I have an external 1TB in enclosure that I can plug in to move the data over, but how do I move only the data on the 320GB to it?? I found this [URL]. But that is only to move the data to a new replacement disk, but my external is only temporary to move the data from the 320GB until I remove it+install 500GB, then move the data back. Not enough space on the 500GB already on server to move everything from 320GB to it, just in case that seemed the obvious thing to do.
I want to test syn flood attack in my pc
but i dnt know how to generate it, can you tell me
how to generate syn flood attack in pc
I installed bonnmotion 1.4 but when I try to generate a scenario, i get the error msg
bm: command not found.
if I replace bm by ~/Bureau/bonnmotion-1.4/bin/bm , I get This error msg :
Exception in thread "main" java.lang.NoClassDefFoundError: edu/bonn/cs/iv/bonnmotion/run/BM
Caused by: java.lang.ClassNotFoundException: edu.bonn.cs.iv.bonnmotion.run.BM
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Plsss any idea on how to resolve this?
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 did a NMAP on a 10.4 desktop system. Found tcp wrapper on my system with an open port. Again I do not run a server. etc/host-deny and etc/host-allow contain no active elements. I know tcp wrapper as a great tool to secure a server. Closing the port with ufw gives no result, tcp wrapper still show up.
View 6 Replies View RelatedI am trying to see whether wget can be used to generate actual url hits on a webpage. This does not look good so far�. I changed the following lines in /etc/wgetrc to:
Code: http_proxy=http : / /<proxy_ip>:<port>/ use_proxy on Output :
Code: root# wget -c <url>/ > /dev/null
--2011-01-16 12:26:38-- <url>
Connecting to <proxy_ip>:<port>... connected.
[code]....
2011-01-16 12:26:39 (88,9 KB/s) - `index.html.3' saved [50548] This does NOT generate a hit on the actual web page! It does not seem like the, > /dev/null part is working either... How can I get this to work?
I 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 Relatedalrighty, long story short, I screwed up. I had installed a copy of ubuntu 9.1 to my sda1 partition and a copy of windows 7 to sda2 and it worked pretty well, but after needing to change the partitions around, I deleted sda1 and did a wubi install. I forgot to adjust the mbr before deleting the ubuntu install and my live CD is still running ubuntu 9.1 (think that's grub 1.5) and I can't update the live CD, as my only functioning OS is currently running off it. I suspect, therefore, that the mbr is still pointing to a now non-existant partition to find the boot files. So, in short, how do I use my current live CD to allow me to boot into windows in this situation? my current partition table is sda2: windows 7/wubi, sda1: media/backups
View 2 Replies View RelatedI had some troubles on samba, so I re-installed it.After I uninstalled samba, I noticed old /etc/samba folder/ files were left, so I deleted all of them. Then I installed samba, however, no /etc/samba files were installed.How can I generate default samba configuration files??
View 4 Replies View RelatedIs there any possible way to generate IPv6 extension headers such as Hop-by-hop, destinations options, etc with linux boxes.
If possible, can any one of you give me the set up details.
In cisco 6509 switch port 1status is being traped it is showing "SNMP CRITICAL - *down(2)*"
View 2 Replies View Relateddoes anyone have any suggestions on the best way to start gpg-agent on fedora 13?It's installed just not running. Is there a Fedora standard way to use it?
View 2 Replies View RelatedI have installed dogtag PKI in my redhat machine using EPEL repo. I am only using CA agent right now. I have generated certificates for my Redhat Directory Server using this CA instance. Now by mistake, Admin Certificate which was stored in my web browser for Certificate based login inside CA Agent has been deleted. Now i can't go inside CA Agent. Is there a way i can go inside CA Agent?
View 2 Replies View RelatedI expected more from ubuntu 10.4 with regards to printing with exact size photos and with poor auto colour printing but the situation remains unchanged! for instance .. the photo size configurations for ubuntu/fspot/gimp and others are not compatible with my printers (HP and Brother) .. here in Europe a typical standard size photo (10x15inches or 150x100mm are not even on the Ubuntu listing? I have tried all listed possibilities including "custom" (which does not seem to ever work correctly?)and the result at best is photos with uneven boarders or at worse my printer goes a bit crazy with much wasted photo paper and expensive ink ...even photos selected for "no boarders" still produces photos with the self same uneven boarders.
I have tried pretty much everything over time following advice in this forum and including using HPlip and updating drivers required for my Brother printer but the root problem seemingly lies with the Ubunto photo size setup listing. Working with Ubuntu over the years I have found that it can do pretty much everything that Windows can do except for this dam ongoing photo quality and configuration problem.
I have a function in perl which I want to use trap all errors a script ocurs which the script does not explicitly handle. These errors are then logged to various places. So I tried to use a eval block but the problem I have is sometimes if you put a die statement in the evaled script it doesn't get handled. What I have so far is:
[Code]....