Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-29-2009, 04:32 AM
|
#1
|
Member
Registered: May 2004
Location: bangalore
Distribution: Cent OS, Ubuntu
Posts: 116
Rep:
|
linux host monitoring using OpenNMS
Hi All,
I am trying out OpenNMS on CentOS. I am able to install it and run the WebConsole properly too. I have enabled the SNMP on a remote linux host.
But I am not getting any clue on monitoring Disk properties. Please guide me how I can do this?
Is there any Book or PDF with simple steps that I can refer?
Regards,
Athreya VC
|
|
|
05-30-2009, 06:14 AM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Since OpenNMS has documentation like at http://www.opennms.org/index.php/Doc...ata_Collection, maybe you could read there, try again and if that doesn't work for you tell us in detail what you're having problems with (configuration, testing, whatever else) and how you've tested things to work/not work?
|
|
|
06-01-2009, 07:43 AM
|
#3
|
LQ Newbie
Registered: Jun 2009
Posts: 2
Rep:
|
Net-SNMP disk directive
In order for OpenNMS to see disk space stats, you have to enable the "disk" directive for the SNMP agent.
On the remote system, edit /etc/snmp/snmpd.conf and add an entry for each disk you are interested in monitoring. In other words, if you have a / and a /boot partition, add
disk /
disk /boot
and restart the agent. OpenNMS should automatically pick up the change.
|
|
|
06-01-2009, 07:18 PM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,391
|
Don't forget to open the relevant ports on the firewall: 161 and/or 162
|
|
|
06-01-2009, 11:26 PM
|
#5
|
Member
Registered: May 2004
Location: bangalore
Distribution: Cent OS, Ubuntu
Posts: 116
Original Poster
Rep:
|
Hi All,
Thanks for the replies.
Yes, OpenNMS took those entries and I can see the partitions being detected.
I have a query that, Consider I have 2 partitions
/boot 400MB
/opt 5GB
Can I set seperate thresholds for the specific partitions.
Like /opt should throw an alert when the usage goes beyond 95%
/boot should give an alert when usage is 80%.
Also, I see the DNS service not getting recognised in the OpenNMS.
Another query is, I want to customise the alert messages, i.e. when disk threhold is exceeded it should throw some alert in simple english which I prefer.
I am a beginner and I may be asking too much in too short of time. Also my SNMP knowledge is limited. Sorry for that.
The version of OpenNMS i am using is 1.6.1 and I see the most of the docs on the opennms home page are of Older versions.
Thanks again for the replies.
Best Regards,
Athreya VC
|
|
|
All times are GMT -5. The time now is 03:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|