Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap Post 302892641 by vipul_prajapati on Friday 14th of March 2014 12:27:18 AM
Old 03-14-2014
@DGPickett: SSH scp is not more useful here. we have to transfer from syslog to snmp trap.
 

10 More Discussions You Might Find Interesting

1. IP Networking

snmp trap generator

Hi, I am writing a program in java to simulate a trap being sent from a device. I came to know that rawsocket cant be opened in java. Is there a provision to do in java? My requirement is: I am writing the java program in the machine 1.1.1.1 I want to simulate the trap being sent from a... (0 Replies)
Discussion started by: kkrish7
0 Replies

2. Solaris

Creating SNMP Strings To Trap ALOM Console Messages

Greetings To All! I am trying to accomplish the following: Using a public SNMP string, create a trap which will trap ALOM console messages on a Solaris Sunfire T-1000 ALOM console. The platform is Solaris 10. These newly created traps need to be configured in such a way that they will send... (0 Replies)
Discussion started by: RobSand
0 Replies

3. IP Networking

Send A Snmp Trap

Hi, do you know the syntax to send a snmp trap to a server ? Many htanks. (2 Replies)
Discussion started by: big123456
2 Replies

4. Infrastructure Monitoring

linux snmp trap relay

Hi all, I'm after a linux utility that can relay all incoming traffic on a certain port to another server. Can anyone recommend a good program? I've taken a look at snmptrapd, but it's not obvious how this can be configured for my requirements. Many thanks. (1 Reply)
Discussion started by: badoshi
1 Replies

5. Infrastructure Monitoring

Allow specific hosts for snmp trap

I want to receive snmp traps only from specifis ip's or host. I tried to get help from VACM , but it's complicated. Can any one please suggest me simple way to do it (0 Replies)
Discussion started by: nrbhole
0 Replies

6. Infrastructure Monitoring

SNMP Trap on Solaris...HELP!

Hi all, I am currently doing a project regarding traps and would like to help me in this issue. I am knew to the trap world :confused::) and thought that by posting this thread helps me move forward in this project. First of all I will begin exactly from the very beginning, i.e. the net-snmp... (0 Replies)
Discussion started by: Wizard_1979
0 Replies

7. Solaris

snmp trap for passwd file deltas in solaris

Hello I am trying to monitor when a user account gets added to my solaris server. Does anyone know how I can set up an snmptrap for changes in the /etc/passwd file ? (4 Replies)
Discussion started by: prince2010
4 Replies

8. UNIX for Advanced & Expert Users

Snmp trap command for Solaris 5.10

I am using the following command to successfully send snmp traps on Linux but I cant get it to work on Solaris , can someone give me the syntax plz? Linux: /usr/sbin/snmptrap -v 2c -c org 10.100.10.211 \'\' 1.3.6.1.4.1.791.2.9.2 1.3.6.1.4.1.791.2.9.2 s \"$1 \" Solaris:... (5 Replies)
Discussion started by: aliyesami
5 Replies

9. Shell Programming and Scripting

Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog

I have been searching and reading about syslog. I would like to know how to Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog. tail -f /var/log/messages dblogger: msg_to_dbrow: no logtype using missing dblogger: msg_to_dbrow_str: val ==... (2 Replies)
Discussion started by: kenshinhimura
2 Replies

10. Red Hat

Snmp [xx] Got trap from peer in Red Hat Linux

hi I get below error from console and message log in red hat linux snmp Got trap from peer on fd 13 . Any idea why there is error and how to fix it ?? Please use CODE tags as required by forum rules! (0 Replies)
Discussion started by: chuikingman
0 Replies
snmp-ups(8)						      Network UPS Tools (NUT)						       snmp-ups(8)

NAME
snmp-ups - Driver for RFC 1628 SNMP UPS equipment NOTE
This man page only documents the hardware-specific features of the snmp-ups driver. For information about the core driver, see nutups- drv(8). SUPPORTED HARDWARE
Any UPS that is RFC 1628 (UPS MIB) compliant. EXPERIMENTAL DRIVER
This driver has been tagged experimental and is not built by default. REQUIREMENTS
This driver needs UCD SNMP, aka Net-SNMP installed to compile successfully. See http://www.net-snmp.org/ for more information. On Red Hat 7.2, these packages are required: ucd-snmp-devel-4.2.3-1, ucd-snmp-4.2.3-1, ucd-snmp-utils-4.2.3-1 You must install SNMP-UPS-MIB.txt in your MIBs directory - typically /usr/share/snmp/mibs/, but it may vary from system to system. You can generate this from chapter 4 of RFC 1628 (see http://www.faqs.org). EXTRA ARGUMENTS
This driver supports the following optional settings in the ups.conf(5): community=name Set community name (default = public) snmp_version=version Set SNMP version (default = v1, the other allowed value is v2c) INSTALLATION
This driver is not built by default. You can build it by using "configure --with-drivers=snmp-ups" before calling make. IMPLEMENTATION
The hostname of the UPS is specified with the "port" value in ups.conf, i.e.: [snmp] driver = snmp-ups port = snmp-ups.example.com community = public snmp_version = v1 SUPPORTED VARIABLES
INFO_MFR UPS Manufacturer INFO_MODEL UPS Model INFO_FIRMREV Firmware/Software Version INFO_STATUS OFF, OL, OB, BOOST, TRIM INFO_BATTPCT Battery percentage INFO_RUNTIME Predicted runtime on battery INFO_BATTVOLT Battery Voltage INFO_OUTVOLT Output Voltage PLANNED SUPPORT
INFO_UTILITY Input Voltage INFO_ACFREQ AC Frequency INFO_UPSTEM UPS Temperature INFO_LOADPCT Load Percentage CMD_? Not determined AUTHORS
Arnaud Quette, Hans Ekkehard Plesser SEE ALSO
The core driver: nutupsdrv(8) Internet resources: The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/ NUT mailing list archives and information: http://lists.exploits.org/ Tue Oct 22 2002 snmp-ups(8)
All times are GMT -4. The time now is 02:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy