Synergy Foss not connecting to client PC [on hold]
I am using Synergy keyboard and sharing software. My mac is the server and
i have a windows PC that is the client.
The windows PC seems to be working okay but on the mac it is stuck on
Synergy is starting. and it says
*NOTE: config file:
/var/folders/jz/yvtbpbtd4z31nmglb4wwvpv00000gn/T/qt_temp.BM5997 NOTE: log
level: NOTE* every time i click Apply or Start
Tuesday, 1 October 2013
Centreon (Nagios) setting a host macro (variable)
Centreon (Nagios) setting a host macro (variable)
EDIT2: Got it working - There was an unrelated problem that meant even
though I was tinkering with the 'faulty' host definition, the revised
check was not being run so I was always seeing the original error message.
I am trying to add a new variable (macro) to a host template through the
Centreon (2.4.2) GUI so that the value can be picked up when doing a
check, but I am getting an error. Here's what I have so far:
I have a host template with a macro name of INSTANCECODE
I have a check command like this:
RUBYOPT="rubygems" ruby /usr/lib64/nagios/plugins/check_ec2_status.rb -a
$HOSTADDRESS$ -i $_HOSTINSTANCECODE$ -f $ARG1$
I have a host definition that uses the template mentioned above, and has
INSTANCECODE filled in as i-xx4770xx (An Amazon EC2 instance
code/reference)
But the check comes back with an error: "Error occured while trying to
retrieve EC2 instance: $"
If I hard-code the instance value into the check it works fine
Using the Nagios interface, which has a tool for checking I can't see any
variable expansion for $_HOSTINSTANCECODE$ taking place.
Any useful suggestions would be appreciated.
Edit - for Keith: Generated host template:
define host{
name Amazon_Instance
alias Amazon Instance
check_command check_amazon_ec2_status
max_check_attempts 5
check_interval 60
retry_interval 120
check_period 24x7
contact_groups Supervisors
contacts Supervisor
notification_interval 60
first_notification_delay 60
notification_options d,u,r
register 0
_INSTANCECODE
}
EDIT2: Got it working - There was an unrelated problem that meant even
though I was tinkering with the 'faulty' host definition, the revised
check was not being run so I was always seeing the original error message.
I am trying to add a new variable (macro) to a host template through the
Centreon (2.4.2) GUI so that the value can be picked up when doing a
check, but I am getting an error. Here's what I have so far:
I have a host template with a macro name of INSTANCECODE
I have a check command like this:
RUBYOPT="rubygems" ruby /usr/lib64/nagios/plugins/check_ec2_status.rb -a
$HOSTADDRESS$ -i $_HOSTINSTANCECODE$ -f $ARG1$
I have a host definition that uses the template mentioned above, and has
INSTANCECODE filled in as i-xx4770xx (An Amazon EC2 instance
code/reference)
But the check comes back with an error: "Error occured while trying to
retrieve EC2 instance: $"
If I hard-code the instance value into the check it works fine
Using the Nagios interface, which has a tool for checking I can't see any
variable expansion for $_HOSTINSTANCECODE$ taking place.
Any useful suggestions would be appreciated.
Edit - for Keith: Generated host template:
define host{
name Amazon_Instance
alias Amazon Instance
check_command check_amazon_ec2_status
max_check_attempts 5
check_interval 60
retry_interval 120
check_period 24x7
contact_groups Supervisors
contacts Supervisor
notification_interval 60
first_notification_delay 60
notification_options d,u,r
register 0
_INSTANCECODE
}
Monday, 30 September 2013
Evaluate $ \lim=?iso-8859-1?Q?=5F{x\rightarrow{\frac\pi2_}}_?=(\sec(x) \tan(x))^{\cos(x)}$ without L'Hôpital's rule
Evaluate $ \lim_{x\rightarrow{\frac\pi2 }} (\sec(x) \tan(x))^{\cos(x)}$
without L'Hôpital's rule
I have tried changing limit to $\lim_{x\rightarrow0}$ and use some
trigonometry identity ($\sin^2(x)+\cos^2(x) = 1$ and $\sin (x+\pi/2) =
\cos(x)$) but doesn't work
I have no idea on how to do this now...
$$ \lim_{x\rightarrow{\frac\pi2 }} (\sec(x) \tan(x))^{\cos(x)} $$
without L'Hôpital's rule
I have tried changing limit to $\lim_{x\rightarrow0}$ and use some
trigonometry identity ($\sin^2(x)+\cos^2(x) = 1$ and $\sin (x+\pi/2) =
\cos(x)$) but doesn't work
I have no idea on how to do this now...
$$ \lim_{x\rightarrow{\frac\pi2 }} (\sec(x) \tan(x))^{\cos(x)} $$
MBR not found error during installation
MBR not found error during installation
I am completely new to Linux/Ubantu..but I want to learn it..recently my
HD crashed so I bought a new ssd and installed windows on C drive..I have
my normal stuff on D drive and want to install Ubantu on E driver which is
65gb..when I tried to install ubantu from USB, I got an error that MBR is
missing..can anyone please help me with it or point me the right
direction.. Thanks a lot..looking forward to have fun with Ubantu :)
I am completely new to Linux/Ubantu..but I want to learn it..recently my
HD crashed so I bought a new ssd and installed windows on C drive..I have
my normal stuff on D drive and want to install Ubantu on E driver which is
65gb..when I tried to install ubantu from USB, I got an error that MBR is
missing..can anyone please help me with it or point me the right
direction.. Thanks a lot..looking forward to have fun with Ubantu :)
How to get started/pick/understand what web service tools to use
How to get started/pick/understand what web service tools to use
Ok, so this is an open-ended question. I would like to start with I am not
looking for an exact answer, as much as I am trying to find the correct
path to educating myself for what I need to do.
I am an iOS developer (5 years now) and I also know a decent amount about
HTML, CSS, and some PHP. I have dabbled in JavaScript and barely even
touched Ruby (On Rails), so it is fair to say that I am a novice web
developer. I can build great front ends but the backend and connecting it
are where I need help.
I am looking to build a product that has a few requirements. Here they are:
Scalable database to store ever increasing data over time. Users will be
continually adding new content that will need to be stored and also
indexed to be viewed later. This will include text, photos, and possibly
video clips (most likely not initially).
The ability to handle messaging. This is not a chat service, but rather
the ability to click on a user and say send message, and they will have a
dashboard section that will allow then to view and respond to those
messages. This will also be stored on the database. Nothing profound here,
standard implementation.
Easy access to maintain this data and content. I will need to be able to
quickly query the submitted content and grab all the data for users to
see.
Obviously the need to manage user accounts. Seems like a separate table or
DB for user accounts and linking them with content is needed. I feel like
this and number 3 are subsets of number 1 so I apologize if this is
redundant.
The bottom line is there are so many options, I have no idea what will or
will not work for my site. I barely know command line and terminal, I know
nothing about servers and Amazon Web Services seems like an amazing tool
but it is filled with tons of technical stuff I don't understand.
I am the type of person who will read books, watch videos, read tutorials
and constantly scan over Stack Overflow to learn new things, but in this
instance I am not sure what I should be learning.
Any idea's on what programming language I should be using? What web
service will fulfill my requirements? How will this all tie in to the HTML
side of things?
I am looking for some guidance on where to start, and ANY information will
be helpful. Links to articles to read, suggestions, personal experiences
are all welcome.
Thanks!
Ok, so this is an open-ended question. I would like to start with I am not
looking for an exact answer, as much as I am trying to find the correct
path to educating myself for what I need to do.
I am an iOS developer (5 years now) and I also know a decent amount about
HTML, CSS, and some PHP. I have dabbled in JavaScript and barely even
touched Ruby (On Rails), so it is fair to say that I am a novice web
developer. I can build great front ends but the backend and connecting it
are where I need help.
I am looking to build a product that has a few requirements. Here they are:
Scalable database to store ever increasing data over time. Users will be
continually adding new content that will need to be stored and also
indexed to be viewed later. This will include text, photos, and possibly
video clips (most likely not initially).
The ability to handle messaging. This is not a chat service, but rather
the ability to click on a user and say send message, and they will have a
dashboard section that will allow then to view and respond to those
messages. This will also be stored on the database. Nothing profound here,
standard implementation.
Easy access to maintain this data and content. I will need to be able to
quickly query the submitted content and grab all the data for users to
see.
Obviously the need to manage user accounts. Seems like a separate table or
DB for user accounts and linking them with content is needed. I feel like
this and number 3 are subsets of number 1 so I apologize if this is
redundant.
The bottom line is there are so many options, I have no idea what will or
will not work for my site. I barely know command line and terminal, I know
nothing about servers and Amazon Web Services seems like an amazing tool
but it is filled with tons of technical stuff I don't understand.
I am the type of person who will read books, watch videos, read tutorials
and constantly scan over Stack Overflow to learn new things, but in this
instance I am not sure what I should be learning.
Any idea's on what programming language I should be using? What web
service will fulfill my requirements? How will this all tie in to the HTML
side of things?
I am looking for some guidance on where to start, and ANY information will
be helpful. Links to articles to read, suggestions, personal experiences
are all welcome.
Thanks!
Drag and drop from outook to webapp
Drag and drop from outook to webapp
I'm coding a JSP with a drop zone where users can move any files (PDF,
.XDOC, .XLS, ....) for uploading and I want to make it works with email
too.
In my servlet, it seems to be OK if the dragged email is at first drop on
localdisk, then drop in the webpage. In that case i'm receiving some data.
Unfortunately, if it's directly drop from Outlook, nothinhg's happening...
Any suggestions to make it works ?
I'm coding a JSP with a drop zone where users can move any files (PDF,
.XDOC, .XLS, ....) for uploading and I want to make it works with email
too.
In my servlet, it seems to be OK if the dragged email is at first drop on
localdisk, then drop in the webpage. In that case i'm receiving some data.
Unfortunately, if it's directly drop from Outlook, nothinhg's happening...
Any suggestions to make it works ?
Sunday, 29 September 2013
How can I find out the very first time linux machine start up?
How can I find out the very first time linux machine start up?
When we use uptime, it only shown us the up-time of ours machine since it
started from the last time it turning on/shutdown/reboot.
But, what if I want to get the time when our machine started from the very
first time when it installed?
Do Linux own this tools? Or any clues about how I can find out the answer
of it?
When we use uptime, it only shown us the up-time of ours machine since it
started from the last time it turning on/shutdown/reboot.
But, what if I want to get the time when our machine started from the very
first time when it installed?
Do Linux own this tools? Or any clues about how I can find out the answer
of it?
Subscribe to:
Posts (Atom)