Boredom is caused by lack of interest. You can have many hobbies or none at all, you can be around a group of people, or all by yourself. Boredom is not caused by the environment, nor the activities. It is a matter of the heart. If you have many interests you will never be bored but then again you can have only one interest, and still never be bored. If you follow your heart and act upon your hearts desires, there are numbers of possible emotions and mental states, however, boredom would not be one of them. Boredom is a state of mind that is close to blank, or a heart that is empty with no ...

^ Vodanovich, Stephen J. (November 2003) "Psychometric Measures of Boredom: A Review of the Literature" The Journal of Psychology. 137:6 p. 569 "Indeed, a shortcoming of the boredom literature is the absence of a coherent, universally accepted definition. The lack of an agreed-upon definition of boredom has limited the measurement of the construct and partly accounts for the existence of diverse approaches to assessing various subsets of boredom."
Boreout is a management theory that posits that lack of work, boredom, and consequent lack of satisfaction are a common malaise affecting individuals working in modern organizations, especially in office-based white collar jobs. This theory was first expounded in 2007 in Diagnose Boreout, a book by Peter Werder and Philippe Rothlin, two Swiss business consultants. They claim the absence of meaningful tasks, rather than the presence of stress, is many workers' chief problem.
There’s no specific, medical treatment for boredom. However, there are tons of solutions if you’re experiencing boredom. For example, you may want to consider trying some new hobbies or other new diversional activities. Joining a club can be a good way to thwart your boredom. Reading clubs, hobby groups, or exercise groups are all great places to start. Joining a community group that organizes activities and outings is another good idea.