Linux - NewbieThis 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
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.
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.
You know Nagios in ubuntu 9.10 (which i've already installed). The web interface for Nagios shows status of services/hosts that are currently being monitored. I supposed those (status interface) are displayed onto the page with some written codes behind. Does any one know where and how those codes can be viewed?
That's correct! Unpack the file and you'll have a directory with the name of the package, such as nagios-3.2.1. Inside that directory you'll have another one called cgi and inside that one are the code files used to create the cgi files that are used for the statusmap.
Hmm, i have one question. Is it possible to actually make a new interface to appear in Nagios interface by coding on our own? I mean, we create a new C File, the same as those in tar file, and put it into tar file together with the rest and when we view Nagios interface, our file could actually be displayed?
I'm no programmer but I assume that if you know your way around then you can do what you want. You can change things for sure as indicated in a small part by this site.
I am also not programmer but if you know programming then you can modify status map as you want.
Code:
I mean, we create a new C File, the same as those in tar file, and put it into tar file together with the rest and when we view Nagios interface, our file could actually be displayed?
BTW when you modify status map source it will not display file but it display map as per your coding.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.