Software :: Nagios Check_ntp_time Offset Different From Ntpq -p

May 2, 2011

One of the main things I need Nagios to do is check the servers for time drift. I have all my servers running ntp against an NTP server, but I still get some nasty drift on some of the systems. I want Nagios to monitor this drift and inform me when the drift reaches a certain point then I can go in to reset the time on the system. My question is the accuracy of the check_ntp_time function or am I reading it wrong. Running "check_ntp_time -H time01" produces the following output

[Code]....

You can see the offset returned by check_ntp_time is -0.0006129741669 whereas the offset from ntpq -p is -0.292 I don't see a match from the check_ntp_time function, they are not even what I would call close. Am I misunderstanding something or is there a large difference in values between the ntpq command and check_ntp_time function?

View 5 Replies


ADVERTISEMENT

Server :: Error: Cannot Open Log File '/usr/local/nagios/var/archives/nagios-07-08-2011-00.log' For Reading?

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

General :: How To See The Code Behind The Nagios Plugin: Nagios Checker

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

General :: Nagios - Can I Configure Nagios To Do This

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

Server :: Ntp Offset Value Too High

May 19, 2011

i have a problem here whereby some 20 over servers in my network is having regular Offset values. The configured threshold is 55, but whenever it exceeds 55, i have alerts coming in. My questions are;

1)how do i find out what is causing the Offset value to be high?

2)i have workaround in mind, that is to create a cronjob to restart the ntp daily, or hourly - is this workaround an acceptable practice?

My main concern is to find out what is causing the frequent offset spike/increase. real example from my servers:

[Code]....

View 3 Replies View Related

Fedora :: Picture Offset To Right For 5 Mm On Screen

Jan 16, 2010

Problem: In Fedora 7 picture offset about 5 mm to righ on screen. I solved this with xvidtune and insert modeline in xorg.conf. In section Monitor..... I'm not sure. Why I can't use this trick in Fedora 12?

View 3 Replies View Related

OpenSUSE :: 11.2 - NTP Large Offset And Jitter

Oct 16, 2010

SuSE 11.2 = 2.6.31, ntpd 4.2.4p7. My offset and jitter are large compared to what I see on the internet. I have also been trying to use a GPS+PPS but that doesn't seem to matter one way or the other. They usually start out with offset and jitter in the single digits and drift / move to something like -400 and 80 over a couple of hours. I have tried various remedies under ntp.org like HZ=100, setting clocksource to tsc, hpet, or acpi_pm. I do not know what to do with acpi so i didn't test that. One of my systems has drift of < +-20 which is good. I have tried it on another identical system and also an 11.1 system. One of the systems is not behind my firewall. They do not run a firewall themselves or VM or pretty much anything as they are not being used.

I have used ntp.conf with/without 'prefer'. Here is a recent ntpq -p:
remote refid st t when poll reach delay offset jitter
xSHM(0) .GPS. 0 l 1 16 377 0.000 508.652 177.858
*SHM(1) .PPS. 0 l 3 16 377 0.000 81.463 13.790
+131.107.13.100 .ACTS. 1 u 1 64 373 55.209 107.670 19.061
+saturn.netwrx1. .PPS. 1 u 11 64 377 59.973 100.192 10.695
+tick.usask.ca .GPS. 1 u 9 64 377 81.503 97.608 10.434
-97.f7bed1.clien 192.5.41.40 2 u 58 64 377 39.804 104.353 11.306
+dev1-c.nym009.i 128.4.1.1 2 u 23 64 377 46.182 104.460 11.550
+ntp2.Rescomp.Be 128.32.206.54 2 u 15 64 377 77.153 92.867 14.428
+ds3-us.zagbot.c 204.9.54.119 2 u 35 64 377 38.797 96.360 9.053
+montblanc.arbor 208.66.175.36 2 u 26 64 377 34.713 93.690 14.534

Is there something wrong with 11.1 and 11.2 ?
Here is the ntp as run from /etc/init.d/ntp start (also with yast):
21238 ? Ss 0:00 /usr/sbin/ntpd -p /var/run/ntp/ntpd.pid -g -u ntp:ntp -i /var/lib/ntp -c /etc/ntp.conf

View 6 Replies View Related

Ubuntu :: Mounting An Offset Within Dd Image

Mar 8, 2011

For instance, using dd, you create an image of a whole hard drive, all partitions. The script then comes and mounts the partition located at offset 63 (or whatever the user picks).I do not see this option in the mount command.No other searches turned up anything meaningful. So I am bowing to the gurus.

View 4 Replies View Related

OpenSUSE Hardware :: VGA Out Image Offset Downward?

May 6, 2011

I seem to have had this problem in kubutu as well, but my screen's image is offset downwards, such that I can barely see the bottom "task bar".I haven't been able to find any resolutions to this problem, except that the refresh rate might be wrong. Unfortunately, the "Display" program only gives me two options -- 60Hz, and Auto

View 8 Replies View Related

Ubuntu Installation :: Monitor Offset By 10 Or 15 Pixels?

Mar 18, 2010

I have a new installation of Karmic 9.10 up and running but for some reason my Nvida Quadro NVS 280 SD graphics card can not align my Sony SDM-HX73 monitor correctly. On the left I'm missing 10 or 15 pixels and on the right I have a thin black strip of unusable screen.

View 2 Replies View Related

Programming :: Getting Current Time Zone Offset?

Jun 18, 2010

I'm looking for a function (prefer POSIX, but Linux specific would do if it has to) to get the current timezone offset. For my location, eastern USA, that should be -14400 when daylight time is in effect, and -18000 otherwise.

View 1 Replies View Related

Programming :: Calculate The Blade Offset In Python?

Dec 30, 2010

I'm using pyqt3 for my app and am lost on even how to attempt this task... On a vinyl cutter to have the blade pivot it must be offset from the center of the shaft it's on so say for example a .25mm offset would leave a .25mm unwanted vinyl attachment when the cutting is done. I somehow have to average or extrapolate that .25mm xy coordinate and add it to the hpgl plot file as a PUx,y; command? I have enclosed a simple sample file that has three images in it. In the corresponding hpgl file everything between the PU commands that are starting with PD are the code for that image (star for eg the pu to move to next image and then all PD for the next image and so on, so once the formula or procedure is figured out it can be applied to as many images there are in the file. Placing the new command at the head of each image PD group. Since there are absolute and relative cutters I enclosed the same exact plot for both types as the coordinates on relative can be negative numbers. Only PU and PD commands and a ";" as a command delimiter as sometimes many commands are on one line.The offset variable will come from a spinbox but .25 is good for an example.

View 14 Replies View Related

Programming :: Notice: Uninitialized String Offset: 1 In [PHP]?

Nov 8, 2010

This code is giving me the above said error, this code was written by me 2 years back, can't remember the cause of error at this moment, please help !

Code:
function remove_spaces($input,$i)
{

[code]....

View 8 Replies View Related

Programming :: Removing Duplicates With Offset - Datetime

Oct 20, 2010

I have a column of datetime entries which I sorted to removed duplicate entries.

I have still lots of entries which are adjacent to each other by 1 second.

How would I go about removing any entries which have an offset of the previous or after entry by 1 second?

Code:

View 5 Replies View Related

OpenSUSE Multimedia :: Re-encode Video With Audio Offset?

Feb 17, 2011

I used K3B to rip some of my DVDs (using the Xvid codec) onto my laptop to take away on holiday with me. This worked fine for 2 of the DVDs but the 3rd one ended up with the audio out of sync with the video. Fortunately VLC comes to the rescue with the ability to offset the video and audio tracks.Is there a way to re-encode the ripped files to permanently fix the offset.

View 4 Replies View Related

Ubuntu :: Grub2 Win 7 Error - Reloc Offset Out Of Segment

Mar 15, 2010

I am dualbooting Karmic, windows 7, and fedora. When I boot, Grub2 will boot everything but Windows 7. Instead it says:
Code:
reloc offset is out of the segment
abort.

I've tried reinstalling and updating grub2 and I also tried grub. It wasn't a problem until I put Lucid on a 4th partition that's always been there. I let lucid install grub2 and after that windows didn't work, but I got the same error when I reinstalled it from karmic. I got a different error from grub (that I don't remember), but I wasn't positive about the configuration so that may have been my fault.

View 1 Replies View Related

Ubuntu Servers :: NTP Failing To Sync - Offset Too Large

Jun 11, 2010

I'm having trouble keeping NTP synchronized and able to provide time updates to other devices on the private network. I believe this is because the server has a too large of offset, that causes all NTP clients syncing through the server to fail.

I have two setups, one working, one failing, with mostly identical installation and settings.

Setup A is the working setup, as I will name it, is ubuntu server edition 8.04 with kernel 2.6.33.1. ntpd version is 4.2.4p4.

ntpq -p outputs this information:
remote refid st t when poll reach delay offset jitter
================================================== ============================
*europium.canoni 193.79.237.14 2 u 925 1024 377 101.851 0.194 0.328
ntp.conf is:

[Code]....

View 1 Replies View Related

Ubuntu Multimedia :: Screen Offset After Using Projector And Gtkwhiteboard?

Jan 30, 2011

Ubuntu 10.10Asus UL30Agraphic chipset Intel GMA 4500 MHDNative LVDS1 display resolution is 1366x768, but my laptop now boots at 800x600. Using xrandr to set resolution at 1366x768, I get the right dot pitch but the screen is still 800x600 px wide, left-top aligned on a 1366x768 display, so that I see a 168px black belt on bottom and a 566 black belt on the right. A vertical screen offset of 168 px affects also the pointer (touchpad) in the following way - I can move and see the pointer arrow all the display wide including the black region, but input (click) is taken for a position 168 px above the pointer visible position.

This is happening after having used the laptop with an external projector and gtkwhiteboard (wiimote based infrared pointer management). I then removed gtkwhiteboard to no effect.Everything works fine when booting in failsafeX, recovery mode. Here is output of uname -a

Code:
Linux bidolino 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011
x86_64 GNU/Linux

[code]....

View 3 Replies View Related

Ubuntu :: LibreOffice/Openoffice Vertical Printing Offset By ~2cm?

Apr 9, 2011

I am using LibreOffice 3.3.2 Final on a 10.10 Ubuntu Laptop.Everything I print from LibreOffice and Openoffice is printed ~2 cm too high. Printing from other programs as Document Viewer and GIMP is just fine. It's not a settings problem, Ive checked everything hundred times. I am printing on HP Deskjet connected to a wireless router with CUPS 1.4.4 Driver.

View 1 Replies View Related

Red Hat / Fedora :: Libata - NCQ & Non-zero Offset - Various 2 TB Hard Drive Failures

Oct 3, 2010

I'm using a RHEL5/Centos5 variant. After struggling with various 2 TB hard drive failures, I started using the Hitachi Deskstar and Ultrastar models, and had none of the earlier green feature related or QA problems I had with all others. However, I began seeing SATA controller freezing under heavy loads, like large rsync mirror operations. My controller is an on-board ICH7R running in AHCI mode. The symptoms are that the drive goes off line and begins to log thousands of SMART errors for Spin-Up Retries. Analysis confirms that the drive is 100% OK after, except for the huge SMART log. This happens on two servers, and multiple drives. Changing the drive to 1.5 Gbps interface speed reduces the problem greatly but does not eliminate it.

I'm working with Hitachi engineering on this, and their only theory is that it has to do with "non-zero buffer offset". Apparently this is a feature of NCQ to receive data out of sequence, and Hitachi says that ICH7R is supports NCQ but not this feature. I am told that BIOS is supposed to filter offending commands but BIOS vendors sometimes err. An alternate is to filter them at the driver, which I believe is libata. Does anyone know anything about this issue? Where might be a good place to make a query about this, with regards to libata? I've contacted the motherboard vendor about the BIOS issue, but I'd like to look into libata also.

View 2 Replies View Related

Programming :: Getting An Undefined Offset For The Associative Arrays [28-46] In Format

Dec 8, 2010

i'm getting an undefined offset for the associative arrays [28-46] in this format.

[Code]....

i have read that i can prevent the notices by doing the following, but it's not working for me

PHP Code:

[Code]....

View 5 Replies View Related

Fedora :: The Window Size Adheres To Command But The Location(offset) Never Does?

Sep 3, 2010

F13 with default GhostScript 8.71Trying to crop an eps file.The window size adheres to command but the location(offset) never does.Tried several different layouts and none work.Quote:ps2pdf -dEmbedAllFonts=true -dProcessColorModel=/DeviceCMYK -dPDFSETTINGS=/prepress -r300 -g1086x1201 -dPDFOPT someeps.eps test.pdfYields the same asQuote:ps2pdf -dEmbedAllFonts=true -dProcessColorModel=/DeviceCMYK -dPDFSETTINGS=/prepress -r300 -g1086x1201+100+100 -dPDFOPT someeps.eps test.pdf

View 9 Replies View Related

OpenSUSE Install :: Swap_free: Bad Swap Offset Entry 1000000000000

Apr 27, 2010

since i did a system update followed by install of akonadi and after a second reboot i'm getting a kernel segmentation fault. i've tried repairing the installed system and i've tried doing a fresh install but all to no avail.

dmesg output:
[Code]....

View 4 Replies View Related

Ubuntu :: Flash 10.2 Beta - Video Offset Due To Screen Resolution

Dec 8, 2010

I tried the new flash 10.2 beta in the hopes that they actually improved things, but it doesn't seem like they have.
1) Video's still seem to go to the 0,0 position with multiple monitors. Always the left screen.
2) Clicking on the non-fullscreen monitor still causes the fullscreen to exit.
3) My video is still offset and shifted on players like ....., probably due to screen resolution.

View 1 Replies View Related

Ubuntu :: Unity Desktop Graphics Offset After User Switching?

Jun 27, 2011

When switching users or logging out and then back in, the unity desktop will be shifted to the right, so that the clock, power button, etc. is off-screen. This does not happen every time, but seems to be about 50% of the time.It looks to be shifted about the width of the toolbar on the left, so that there is a blank column the width of the toolbar, then the toolbar. So, maybe some screen position data is not being reset at log out

View 1 Replies View Related

General :: Making A Directory Entry Pointing To (file+offset)

May 5, 2010

The *.dbf files (DBase III Plus files) have a header (metadata) and follow with n fixed records. I'd like to make a directory entry (like a symbolic link) that point to the fixed record area into a .dbf file. Is it possible in linux? The request is motivated by access a .dbf file from a Firebird SQL Database using CREATE TABLE EXTERNAL FILE '/tmp/mydbf.dbf' ( ... ); but this command only works on fixed records.

View 1 Replies View Related

Ubuntu Installation :: MBR With Vista - 'segment Offset Error' With The Boot Loader

Jan 10, 2011

I have had a strange experience in upgrading to Ubuntu 10.10 on a Dell Inspiron 1545 also running Vista. I was upgrading from a Ubuntu 8.04 that I thought would be worth reporting/sharing in case others have had a similar experience. last week I upgraded to Ubuntu 10.10 using the live cd. Everything seems have gone smoothly. I could log in and out of ubuntu. After logging into Vista and logging out, the next time I tried to start the machine, there was a 'segment offset error' with the boot loader and there was no way of rebooting into anything except to use the Ubuntu live CD and go to a terminal and reinstall the bootloader. The same thing happened after logging in to Vista- this seemed to mess with the boot loader. Logging in first time was not a problem.

Yesterday I started again, wiped out 10.10 and re-installed ubuntu but version 10.04. Logging in and out of Vista is so far ok and I have not had any problems. I do not have an obvious logical explanation to the sequence of events unless there is a problem with the boot loader in version 10.10.

View 1 Replies View Related

Ubuntu :: Offset Desktop - Shifting Initial Login Session Graphics

Jun 30, 2011

If I log out of my initial login session, the login w/ username+password screen is *sometimes* shifted to the right (so that the power icon on the bottom right is off-screen, and I have a black column on the left). When I log back into an account, the same shift *sometimes* happens, independent of whether or not the login screen was shifted. User switching *sometimes* results in the same behavior (it's not just logging in and out).

I have also logged in using a different desktop manager (openbox), and have had no issues (so far) with shifted graphics. Logging back out from openbox, the login screen still *sometimes* has the shift.

View 1 Replies View Related

Ubuntu Multimedia :: Display Is Offset Slightly With Some Of The Left-most And Top-most Area Of The Screen Out Of Range

Dec 8, 2010

I have an NVIDIA video card attached to my LG plasma TV by vga cable. My display is offset slightly with some of the left-most and top-most area of the screen out of range with an equal amount of black/unused screen to the bottom and right. Is there a way for me to recalibrate my display to correct for this?

View 2 Replies View Related

Ubuntu Networking :: Error - Vendor Request 0x06 Failed For Offset 0x3040 With Error -110

Feb 12, 2011

Having a problem with my Belkin wireless adapter when trying to stream music to my Pinnacle Soundbridge.The network connection is usually rock steady but drops anywhere between and few second and a few minutes after streaming music. Network manager still shows the connection to my home network as active but it is not. The connection comes back when I unplug the dongle and plug it back in. I found the following message repeated in the syslog

phy3 -> rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x3040 with error -110

Only thing I have noticed is that it refers to rt2x00 when I had thought it used the rt73usb driver.Had the PC and the Soundbridge for a number of years without any problems but I did recently have to reinstall Ubuntu from scratch. Currently running Ubuntu 10.10

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved