General :: Set Timezone For Nagios In Ubuntu 9.10
Aug 5, 2010
so as the title says.
i saw this in nagios.cfg:
Code:
# TIMEZONE OFFSET
# This option is used to override the default timezone that this
# instance of Nagios runs in. If not specified, Nagios will use
# the system configured timezone.
[Code]....
View 7 Replies
ADVERTISEMENT
Aug 4, 2010
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?
View 14 Replies
View Related
Jul 15, 2011
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?
View 1 Replies
View Related
Aug 19, 2010
In the panel at the top of the screen it shows the time of day - perhaps at the international date line. Is there a setting somewhere that allows me to inform the system of my time zone? Tried "info timezone" - drew a blank. Don't know where to look.
View 1 Replies
View Related
Aug 4, 2010
Is there any function I can use to set the timezone of the entire system in linux using C? (Other than creating a symbolic link between /etc/localtime and /usr/share/zoneinfo/). Could I specify the timezone offset in seconds by any chance?
View 2 Replies
View Related
Feb 17, 2010
I don't really like Los Angeles (they steal all our water) and neither Tijuana nor Vancouver make sense to me, so I am trying to make my own, custom timezone of Felton, California. How do I do this? I changed my /etc/timezone to "America/Felton" but upon reboot my calendar still says "Los Angeles". Which files do I need to change?
View 8 Replies
View Related
Apr 27, 2010
I'm trying to set the time in an embedded system ... There isn't a link/file /etc/localtime and /usr/ has only two subdirectories /usr/bin and /usr/sbin.Is there something I can try or do I just give up and make UTC be my timezone?
View 2 Replies
View Related
Sep 20, 2010
I wanted to change the timezone from Asia/Shanghai to Asia/Hong_Kong on RHEL5U5 in a non-interactive way. After I executed the following command:
Code:
ln -sf /usr/share/zoneinfo/Asia/Hong_Kong /etc/localtime
I checked the timezone with the 'setup' command, and found the timezone is still Asia/Shanghai. Did I change the timezone to Asia/Hong_Kong successfully? Why the 'setup' program still shows the former timezone? Is there any other way to change timezone in a non-interactive way other than relinking the /etc/localtime?
View 2 Replies
View Related
Jul 9, 2011
Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' for reading!
View 2 Replies
View Related
Nov 25, 2010
I have a Centos 5.5 server and I had a problem with its time because it was 1 one hour ahead of my local time. I installed and activated NTP and I created a link for /etc/localtime:
Code:
ln -sf /usr/share/zoneinfo/America/Mexico_City /etc/localtime
I reboot the server and waited for 1 hour but the time wasnt correct. The server's BIOS clock has UTC time so I edited /etc/sysconfig/clock file replacing:
Code:
UTC=false for
UTC=true
I reboot the server and waited for 1 hour but the time wasnt correct. After breaking my head for about 1 hour, I realized that there is a directory /usr/share/zoneinfo/Mexico and changed my link for /etc/localtime
Code:
ln -sf /usr/share/zoneinfo/Mexico/General /etc/localtime
And It worked. What is the difference between America/Mexico_City and Mexico/General files in /usr/share/timezones, they should be identical but of course they are not?
View 1 Replies
View Related
Jul 18, 2011
I want to find a desktop application or command line tool to show two different timezone concurrently under LINUX.
Anyone knows there are such application?
Say i want to know the time at london and USA at the same time. (different time zone)
View 4 Replies
View Related
Dec 8, 2010
Troubleshooting Nagios configuration? I'm already done with the installation and it's working fine. Now I'm working on adding Windows Server in Nagios to be monitored but the problem is my cfg_file=/etc/nagios3/objects/commands.cfg and cfg_file=/etc/nagios3/objects/windows.cfg there's no such /etc/nagios3/objects directory is existing on my nagios directory.
View 1 Replies
View Related
Jan 3, 2010
So, here's my problem. Every time I'm trying to change my timezone, it last until I'm restarting my comp again, it seems like it doesn't save the changes permanently.I'm using Ubuntu v9.10 installed through Wubi. My timezone is set currently via BIOS.
View 8 Replies
View Related
Jun 15, 2011
I installed Nagios following the Quick Install method from the Nagios.org web site but now I would like to add and monitor another host.I don�t find a way , I have for example replaced the ip number of the localhost(127.0.0.1 localhost.cfg) for another ip number and I am able to monitor another computer that way. But then I no longer MONITOR the localhost unless I replace the ip number in the localhost.cfg file. what I would like to do is to monitor both or more computers.
View 4 Replies
View Related
Oct 16, 2010
i have two linux machines i have installed nagios on only one machine and i am getting graph for that one(localhost).but for the second one(host2) i am not getting the graphs so what should i do.. what should i do to get graphs for othe host (remote machine).
View 4 Replies
View Related
Mar 25, 2010
I have worked on redhat/fedora for last 5 yrs but now working on ubuntu as well. I have around 200 ubuntu VMs on which I have to change the timezone.I know I can do that using "dpkg-reconfigure tzdata",But doing it manually on 200 machines is not what I really want to do.Hence I am looking for a way to script this process.On fedora, its simple,change the "ZONE" entry in "/etc/sysconfig/clock" and copy corresponding file from /user/share/zoneinfo to /etc/localtime. Hence I can script is easily.But in ubuntu, with "dpkg-reconfigure tzdata", I don't know how to script it.
View 2 Replies
View Related
Jun 29, 2010
I just installed nagios to a Cent 5.4 box. Everything is working so far except I want to add a plugin I found on nagios exchange. The file has a .pl extension. I am unsure how to add the plugin to the rest of nagios. Do I need to add it to a nagios folder and then define it. If I just try to run the pl file I get a error mesg. I am unsure if the error is caused by system misconfig or because the plugin is not installed. The plugin is check_dayime.pl and the error I get is Can't locate Date/Parse.pm Perl seems to be working as I can run simple perl scripts and perl -v spits out v 5.8.8
View 3 Replies
View Related
Aug 4, 2010
I have installed Nagios Core 3.0 (latest version) and currently monitoring more than 80 hosts (servers, desktops, routers and switches).
Everything is fine but status map options are very few and you cannot customize them. all the views are very wierd.
I am trying to use NEXSM but it seems some complex. good solution to imrove the nagios status map.
View 2 Replies
View Related
Feb 20, 2010
I am trying to add dag repository in Centos 5.3 for nagios according to this documents..
[URL]
but it is of no use... i dont know what is wrong...
how to install nagios in censtos 5.3? I am trying to install nagios with yum.
View 3 Replies
View Related
Jan 6, 2011
setting up Nagios which I have done quite easily, I have only one concern I am not able to setup email Notification from Postfix. I am able to send and receive mails from Postfix internally, I just need to know how to setup Postfix i.e point the server to get NAgios Notification.
View 8 Replies
View Related
Mar 23, 2011
I have configured nagios on my local VM machine and i got no error
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
But when i am unable to start nagios # service nagios start nagios: unrecognized service
View 14 Replies
View Related
Dec 16, 2010
i am installing nagios-3.2 in rhel 5 . it show the errors in make all command..
Quote:
[root@ns1 nagios-3.2.3]# make all
cd ./base && make
make[1]: Entering directory `/root/Desktop/nagios-3.2.3/base'
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o
[Code]...
View 1 Replies
View Related
Apr 12, 2011
anyone tell me how to monitor printers in Nagios
View 3 Replies
View Related
Nov 30, 2010
I'm running Nagios Core 3.2.3 in a CentOS 5.5 Server, i'm trying to set the notifications, however they don't go through. I'm Using Postfix, i also setup squirrel mail and i can send mails through it successfully, can anyone give me some advice about the logs to check or configurations to check?
View 2 Replies
View Related
Jul 29, 2010
checking of services in Nagios. You all know the check_[service] command right? In the commands.cfg and windows.cfg. To check for the different types of services/ports, we just replace the [service] in check_[service] with the name of the port? I only know of check_http, check_ssh, check_ftp etc. Some ports like Finger, snmp etc, all these we also write it as 'check_finger', 'check_snmp'? 2) And, if that is the case, do we have to install additional plugins to monitor the ports defined earlier? 3) Lastly, if i want to monitor finger,snmp in windows server, would i need to download any software?
View 2 Replies
View Related
Sep 16, 2009
How do i change the timezone from BST to UTC ( through the terminal only )
SERVER ~ # cat /etc/sysconfig/clock
ZONE="Europe/London"
UTC=true
ARC=false
However a date shows :
Wed Sep 16 11:07:15 BST 2009
View 3 Replies
View Related
Sep 23, 2010
I let the machine update the other night. Now MythWeb is broken with these lines appearing either at the top of the listings or as the only thing on the page. User Notice at /usr/share/mythtv/mythweb/classes/MythBackend.php, line 124: Failed to set php timezone to EDT Response from backend was Array ( [0] => EDT [1] => -14400 [2] => 2010-09-21T21:27:32 )
Warning at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php, line 16:
Cannot modify header information - headers already sent by (output started at /usr/share/mythtv/mythweb/includes/errors.php:14Looking at MythTV pages it looks like this got broken in late August but should be fixed by now.
Looking at Synaptic it looks like I am at the current version.
View 1 Replies
View Related
Jan 14, 2011
Yesterday i install nagios, after that i can successfully monitor my local machine disk usage and its services, but now i want to monitor remote host, but have no idea how to do this , i also google alot but not getting resource full explanation.so please guys tell me how can i monitor the remote host using nagios..
View 54 Replies
View Related
Apr 23, 2010
I am trying to install and configure nagios on RHEL 5. I have apache 2 installed and php all working as exepected. When i install nagios following the these steps [URL]. The nagios folder that is suppossed to be placed under apache2's httpd is no where to be seen. So when I try to open localhost/nagios/. It says: The requested URL /nagios/ was not found on this server. What can I do for the nagios to work on this system. The apache and php are working fine.
View 1 Replies
View Related
Jul 14, 2010
I ahve installed Nagios 3.2.1 and to generate performance graphs i am trying to use opmon [URL] there are three utilities required to generate graphs: I have installed all prerequisites successfully.
opcfg
opcp
opdb
Here i have installed opcfg successfully and working good, For opcp requirement is "opdb" but no proper documentation available. But while compiling opdb from command
gcc -D_GNU_SOURCE -Wall -shared -o opdb.o opdb.c -L/usr/lib/mysql -lmysqlclient -DNSCORE
Its giving error: Please see attached file For thsi also no proper documentation available.
is there any other easy way to generate performance graphs from Nagios.
View 1 Replies
View Related