Hello
I was getting hammered in /var/log/messages from snmpd becouse it was running a jira which was sending email everytime someone updated a case or made any changes.
Therefor I decided to turn down the loglvl of snmpd, so what I did was add
to
From googeling I am under the impression that setting log lvl to notice will give me notice and all lvls above to /var/log/messages. err, crit and so on...
After editing I did
Now here is a something I'am a bit worried about
After restarting syslogd
This is my last entrie in messages:
Now little over two hours later there are no new entries in the /var/log/messages. This could be fine since messages was basically filled with snmpd messages and nothing more. Just that those last three entries got me a bit nervus. Any thoughts on this? Is there a smooth way to send a test message to syslog from terminal or something to just see if everything is as it should?
Hi
I have redhat linux v9.x. This is acting as a syslog server.
I have a 1700 series cisco router
I would like to log all the activity of my cisco router on my syslog server.
Please anyone help me to configure it
Regards,
Raja (0 Replies)
The title says it all really. I am writing a shell script for a Linux box, and I have recently run into a problem. I need to make sure I am at a certain run level first.
Hence, the question. How can I find out what run level the box is currently running at?
Is there a system variable... (2 Replies)
hi to all
am new to shell scripting..itz very urgent.
when i excuting the command metastat(raid configuration info) it will display some information.
#metastat
d1:submirror
status: okey
pass:1
d2:submirror
staus:okey
d3:submirror
staus:error
if staus is okey.no problem.once i... (0 Replies)
Hi,
Following error message apeared in the syslog.log file of our hps2_dc server.
Mar 10 17:22:12 hps2_dc vmunix: 0/4/0/0.1.3.255.14.1.0 sctl
Mar 10 17:22:31 hps2_dc vmunix: 0/4/0/0: Unable to access previously accessed device at nport ID 0x10300.
Could it be a hardware problem related... (4 Replies)
Hello Experts,
I have an apache 2.2.17 on solaris 10 that I am not sure if I, could list the following in the global settings in httpd.conf. I tested it in the Virtual host section of httpd.conf and, it works but, not sure if I can do it in the global settings.
Any help would be greatly... (0 Replies)
I would like to configure the syslog.conf to have a good monitoring information about my system.
do you have any idea about best configuration from your experience in your Data Centers
BR, (5 Replies)
Hi all,
We have few HPUX servers. Our monitoring server collects their CPU usage info, memory info and disk info in 5 min time interval.
Now, problem is massive access log from monitoring server logged in syslog.log on all hpux servers.
How can we prevent these access logs to be logged... (2 Replies)
HI
i was trying to configure logrotate for my apache server and it's not working properly.
here is my lodrotate configuration
/var/log/httpd/*log {
daily
missingok
notifempty
sharedscripts
compress
delaycompress
postrotate
/sbin/service httpd... (1 Reply)
HI
i was trying to configure logrotate for my apache server and it's not working properly.
Os: Red Hat 6
here is my lodrotate configuration
/var/log/httpd/*log {
daily
missingok
notifempty
sharedscripts
compress
delaycompress
postrotate
... (3 Replies)
Discussion started by: bentech4u
3 Replies
LEARN ABOUT DEBIAN
snmptrapfmt
SNMPTRAPFMT(8) System Manager's Manual SNMPTRAPFMT(8)NAME
snmptrapfmt - Receive and log SNMP trap messages from a trap handler.
SYNOPSIS
snmptrapfmt [-d num] [-D] [-f cfgfile]
DESCRIPTION
Snmptrapfmt receives SNMP trap data through a local pipe. The trap data is written to this pipe by a SNMP trap handler which is called by
snmptrapd (configuration is done in /etc/snmp/snmptrapd.conf) during the installation if this package. Snmptrapfmt formats the received
trap data according to the specifications in the configuration file /etc/snmp/snmptrapfmt.conf (see this file for the syntax). The output
of the snmptrapfmt application may be written to a log file or forwarded to the syslog daemon.
The option -d 1 should be specified to enable tracing. Trace information is then written to the file /var/tmp/snmptrapfmt.trc.
If the option -f cfgfile is given, the output of the daemon is configured via the mentioned configuration file. If this option is not spec-
ified, a default output format is used.
If the option -D is given, the the program will daemonize into the background.
The syntax of the configuration file is explained in /etc/snmp/snmptrapfmt.conf !
FILES
/etc/init.d/snmptrapfmt is the start/stop script.
/etc/snmp/snmptrapfmt.conf is the configuration file.
/var/run/snmptrapfmt.pid is the PID file.
/etc/snmp/snmptrapd.conf is the configuration file of the snmptrapd daemon, which calls the trap handler snmptrapfmthdlr.
/usr/sbin/snmptrapfmt is the executable of the application.
/usr/sbin/snmptrapfmthdlr is the executable of the trap handler.
/var/run/snmptrapfmt.p is the communication pipe between the trap handler snmptrapfmthdlr and the formatter snmptrapfmt.
/var/tmp/snmptrapfmt.trc is the trace file if the option -d is specified.
/var/log/snmptrapfmt.log is the log file as specified in the configuration file.
SEE ALSO snmptrapfmthdlr(8), syslog(8), variables(5), RFC 1155, RFC 1156, RFC 1157, SNMP Security Internet Drafts
4th Berkeley Distribution 19 DECEMBER 2002 SNMPTRAPFMT(8)