Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jdbungart:monitoring
snmptt
snmptt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File snmptt.spec of Package snmptt
# # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. Name: snmptt Version: 1.3 Release: 1 License: GNU GPL Summary: SNMP Trap Translator Url: http://www.snmptt.org/ Group: Productivity/Networking/Other Source0: %{name}_%{version}.tar.bz2 Source1: %{name}.init-suse Requires: net-snmp Requires: perl Requires: perl(Config::IniFiles) Requires: perl(File::Basename) Requires: perl(File::Spec) Requires: perl(Getopt::Long) Requires: perl(SNMP) Requires: perl(Sys::Hostname) Requires: perl(Text::Balanced) Requires: perl(Text::ParseWords) Requires: perl(Time::HiRes) Recommends: logrotate BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description SNMPTT (SNMP Trap Translator) is an SNMP trap handler written in Perl for use with the Net-SNMP / UCD-SNMP snmptrapd program (www.net-snmp.org). SNMPTT supports Linux, Unix and Windows. Many network devices including but not limited to network switches, routers, remote access servers, UPSs, printers and operating systems such as Unix and Windows NT have the ability to send notifications to an SNMP manager running on a network management station. The notifications can be either SNMP Traps, or SNMP Inform messages. The notification can contain a wide array of information such as port failures, link failures, access violations, power outages, paper jams, hard drive failures etc. The MIB (Management Information Base) available from the vendor determines the notifications supported by each device. The MIB file contains TRAP-TYPE (SMIv1) or NOTIFICATION-TYPE (SMIv2) definitions, which define the variables that are passed to the management station when a particular event occurs. The Net-SNMP program snmptrapd is an application that receives and logs SNMP trap and inform messages via TCP/IP. %prep %setup -q -n %{name}_%{version} %build %install %{__install} -d -m0755 %{buildroot}%{_var}/spool/snmptt %{__install} -Dm0755 snmptt %{buildroot}%{_sbindir}/snmptt %{__install} -m0755 snmpttconvert %{buildroot}%{_sbindir}/ %{__install} -m0755 snmpttconvertmib %{buildroot}%{_sbindir}/ %{__install} -m0755 snmptthandler %{buildroot}%{_sbindir}/ %{__install} -m0755 snmptt-net-snmp-test %{buildroot}%{_sbindir}/ %{__install} -d %{buildroot}%{_var}/log/snmptt %{__install} -Dm644 snmptt.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/snmptt %{__install} -Dm0640 snmptt.ini %{buildroot}%{_sysconfdir}/snmp/snmptt.ini install -Dm744 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/snmptt ln -sf ../../etc/init.d/snmptt %{buildroot}%{_sbindir}/rcsnmptt %clean %{__rm} -rf %{buildroot} %post %{fillup_and_insserv snmptt} %preun %stop_on_removal snmptt %postun %restart_on_update snmptt %files %defattr(-,root,root) %doc docs/ examples contrib/ sample-trap BUGS COPYING ChangeLog README %dir %{_var}/log/snmptt %dir %{_var}/spool/snmptt %dir %{_sysconfdir}/snmp %config(noreplace) %{_sysconfdir}/logrotate.d/snmptt %config(noreplace) %{_sysconfdir}/snmp/snmptt.ini %{_sysconfdir}/init.d/snmptt %{_sbindir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor