LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2018, 06:26 AM   #1
ranafaisal
LQ Newbie
 
Registered: May 2018
Posts: 13

Rep: Reputation: Disabled
Problem snmptrapd.conf


I am new to Linux. and I don't have any idea about snmpd service. I have read about it but I cannot figure it out. I am using centos 7 as a virtual machine and windows 10 as host OS. I need help with the snmpd.conf and snmptrapd.conf. Please share a file and also I want to send trap logs to an email how can I do that? Please help me.
 
Old 05-29-2018, 01:58 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
There is no way I can know what you want to do with snmp. I can't read your mind. Snmp is simple network management protocol. The reason you can't do anything with it is because you haven't read what is available on the subject. Look in /usr/share/doc/snmp and https://www.digitalocean.com/communi...work-with-snmp

Last edited by AwesomeMachine; 05-29-2018 at 02:00 AM.
 
Old 05-29-2018, 02:22 AM   #3
ranafaisal
LQ Newbie
 
Registered: May 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
I just need to generate log files for my PC and email them to a given email address. I will read what you have sent me. thanks for that.
 
Old 05-29-2018, 02:26 AM   #4
ranafaisal
LQ Newbie
 
Registered: May 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
I cant seem to find the /usr/share/doc/snmp it returns there no such file or dir. and I want to make my virtual machine a manager and monitor its resources. can I do that?
 
Old 05-29-2018, 03:56 AM   #5
ranafaisal
LQ Newbie
 
Registered: May 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
I want to monitor my centos 7 vm's diskspace using snmp. can you guide me about that?
 
Old 05-29-2018, 08:08 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,316

Rep: Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017
Quote:
Originally Posted by ranafaisal View Post
I just need to generate log files for my PC and email them to a given email address. I will read what you have sent me. thanks for that.
...and FOUR minutes later....
Quote:
Originally Posted by ranafaisal
I cant seem to find the /usr/share/doc/snmp it returns there no such file or dir. and I want to make my virtual machine a manager and monitor its resources. can I do that?
...and an hour and a half after that...
Quote:
Originally Posted by ranafaisal
I want to monitor my centos 7 vm's diskspace using snmp. can you guide me about that?
We volunteer our time here...posting so many follow-ups one after the other isn't good. And you also need to read the "Question Guidelines" link in my posting signature, because doing basic research should be the FIRST thing you do, before posting.

Putting "How to install and configure snmp on centos 7" into Google pulls up many how-to guides. The dozen hits include step-by-step guides, and videos. As far as getting an email or monitoring a single aspect of your system, you'll have to write a script to do it. Again, there are MANY examples you can find, and we're happy to help you, but YOU will have to start by showing us your efforts first. We aren't going to write your scripts for you.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Meaning of traphandle line in /etc/snmp/snmptrapd.conf (Debian) gacanepa Linux - Newbie 2 10-26-2012 07:35 AM
Where can I find the default content of snmptrapd.conf ? aocferreira Linux - Networking 2 03-22-2011 07:43 AM
snmptrapd.conf is gone?!?! lipos Linux - Networking 1 07-16-2008 05:39 AM
could not find the snmptrapd.conf file linux_aru Linux - General 1 06-19-2007 07:59 AM
I don't have an snmptrapd.conf jon3k Linux - Software 0 09-10-2004 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration