General :: 'read' The Log File In Nagios And Produce A So-called 'scoreboard' In Ubuntu 9.10
Jul 26, 2010
Is there any software that can 'read' the log file in nagios and produce a so-called 'scoreboard' (something like a graph) to display the status of the services? I was told that one could 'read' the log file stored in nagios and create a scoreboard.
I suspect this will be beyond my abilities but thought I'd give it a try. A few months ago I wrote code for an application called nagios which would send me tweets when a system within my network ran into a problem (code below):
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
I'm trying to compile a program from source. When I run make the following appears:./ config. status --recheck make: ./config.status: Command not found make: *** [config.status] Error 127.There is no file called config. status in the current directory. Why was it not created?
How to see the code behind the nagios plugin: Nagios Checker? I opened the folder which i have downloaded. After that where do i have to go to see the codes? Is it in App_Codes?
I have a problem when I try to service nagios start, error is the following; No lock file found in /var/run/nagios.pid So when I verified the sample Nagios configuration files whit /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg, get: -bash: /usr/local/nagios/bin/nagios: No such file or directory
There are many more of these entries in the file, over 500, all in this same format: each host has a "define host" followed by 18 directives contained in squiggly brackets.
If I want to know all the hosts that are in the hostgroup called SERVER_GRP, I suppose I would need to read every hostgroups line (8th directive in squiggly brackets) that contains SERVER_GRP and output the corresponding host_name line (1st directive in squiggly brackets) from that entry.
I have a few questions to ask, so please pardon me
1) How to check for https in commands config file for Nagios? I only know how to check for http, not sure for https.
2) The log file in Nagios, is it possible to extend Nagios's plugins (or are there already have plugins existed) so that we could actually make use of the log file to check for status of each and every services in different hosts, instead of looking through the log file manually which can be very time-consuming if the list is very long.
I needed for the first time to do a slideshow of some pictures, I thought it would be a easy thing but now I have two days trying to do it. I downloaded Manslide, I spent about two hours working on it doing the slides but at end of the render process it do not produce any output. Then I discover that Manslide now is SMILE that is in Packman repo. I spent another two hours making again my slideshow but at the end it didn't produce the output video file. I have all the dependencies, I switch all of them to Packman rpms.
If you install Smile (video slideshow creator) from Packman repository, you will probably find out that it doesn't produce any output file. This project is most probably dead, homepage is 404 and it's practically impossible to get any information about this program. Therefore it took me 3 exhausting hours to get it working Here is the solution: There is a missing fake.pl file, so you have to copy it to the right place, which is /opt/smile (for OpenSuse, for other distros it could be elsewhere, for example /usr/bin). You can obtain this file from the source package but as it is very small I post it right here to spare your time:
[Code].....
So create a new file /opt/smile/fake.pl and copy these lines into it. Btw. the original file from the source doesn't have the first line, but according to the tip from different forum it is supposed to be here. If Smile still doesn't work you might try to add some extra permission to fake.pl, something like chmod 755 /opt/smile/fake. And if it is still not working check the log file ~/.logsmile.txt This file is by the way also impossible to find, there is no sign of him in the documentation.
So we monitor all of our disk space, but only get pages for critical. What we would like to do is have one email sent to our team every month with all the "Warnings" for our disk. I have been searching and haven't found a way to do this. Any suggestions?
is there a way to produce a .deb file out of a regular firefox precompiled downloadable binary, the ones we can download of their ftp? I don't want to start an iceweasel/firefox flame war.
I feel there's a bit of a misunderstanding going on between C++ and me...My problem is that I have a deque of pointers to a class, and create objects then add them to the deque in a for loop. However, the destructor is called on the object as soon as the loop quits.
Code:
This prints:
Code:
Now, if I change the deque from deque<Test*> to deque<Test> then it works fine - I get:
Code:
However, I can't do this with my actual code, because I am creating a deque of pointers to an abstract class, so it won't let me instantiate the class. (This is all so that I can take advantage of polymorphism, and call functions on a set of similar objects without worrying what type of object I'm dealing with).
So, I suppose my question is: what is the correct way to create that deque of pointers to the abstract class? I don't seem to be barking up the right tree currently.
i'm new to linux and i am running ubuntu 11.04.i'm trying to install wine. i downloaded the binary files and extracted them. i tried running the command './configure' and got a error saying :no such file or dir. i read the 'readme' file but cannot configure.
I was reading some old posts here and was wondering if anyone could give me or show me where I can download a file called cleanappledouble.pl Apparently it is included when netatalk is installed and is located in /usr/local/atalk/bin for most people. Here is the thread where I was looking at regarding the file.
Kernel 2.6.21.5, Slackware 12.0 Xfce 4.4 For example I've just issued 'mplayer foo.flac' and I do not want an error made by me while in the GUI to issue a loud sound notifying me the error and putting in risk my speakers.
What is the Terminology called of a Binary using a file that is not part of it's self? An example would be when a browser uses a HTML file for it's interface. The binaries code has to know how to find it and so on. I imagine that the applications binary uses a system call and that another application takes over.
I'm getting openbox up and running on squeeze. I performed a netinstall and did a simple apt-get openboxI need to modify a file called ~/.xinitrc, but it does not exist. I read that I can copy one over from /var/x11r6/lib/xinitrc, but the /x11r6/ directory doesn't exist either. I've installed xorg, but the directory still eludes me. A package search yields nothing useful. I am using the SLiM display/login manager, which I believe calls startx, which should theoretically generate the ~/.xinitrc file.
I have encounter problem about opening a file sharing. The situation goes like this.....
1. A folder and file from ubuntu has a both permission to write,read and execute to a specific user which is i added in a group. 2. When i open a file from ubuntu to my Windows Computer i can edit and save and then close the file. But when i open it again the file and edit then save the problem goes to Read-Only I cannot save the file. 3. When I check again the folder and file permission to read, write and execute and then I can access the file again edit and save.
What are the probable cause of this problem to Windows? Ubuntu to Ubuntu there is no problem accessing and saving a file.
I'm trying to produce a list of opensource alternatives to Blackboard and webct EDIT: please provide user experience and recommendation. I'm not looking for a google search on the products out there; rather, I was wondering about your personal input
I made a modification to the /etc/fstab using Ubuntu 10.04 and now it wont boot correctly. I can get the cli but when I enter /etc/fstab and make an edit it says" changing permission of /etc/fstab: read only file system" This is what I get when the system boots:
PHP Code:
[code]....
so if I choose manual I get to the cli and whenever I attempt to edit the file I get the above error. I used another machine and attempted to mount the drive but I get the same error I added notaime option to my fstab by accident so if I choose manual I get to the cli and whenever I attempt to edit the file I get the above error. I used another machine and attempted to mount the drive but I get the same error. I tried
PHP Code:
[code]...
and I get
PHP Code:
[code]....
How can I mount the partition so that I can edit it?
I'm storing a list of strings in a file and would like to read the file and pipe each line returned to grep which in turn searches a directory for files containing the string.However this is not returning any output.