install the Agent on the the system that i want to monitor

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Ladi
Posts: 46
Joined: Tue Nov 06, 2012 3:27 am

Re: install the Agent on the the system that i want to monit

Post by Ladi »

Thanks , have enable the root, but i cant see log in to the console with root user, i didnt see the root user from the list.


Is there something i will need to do?


Regards.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: install the Agent on the the system that i want to monit

Post by eloyd »

Installation and configuration of Nagios assumes a rudimentary knowledge of being able to log in, edit files, and issue basic systems configuration commands on a Unix server. It sounds as though your questions are more Unix related, and not Nagios, specifically. Helping you through Nagios forum postings on basic Unix operations may not be the best way for you to learn.

I think one of the moderators should step in here as to what would be the appropriate way to help you here, or if you should try to get some basic Unix skills from some other source.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Ladi
Posts: 46
Joined: Tue Nov 06, 2012 3:27 am

Re: install the Agent on the the system that i want to monit

Post by Ladi »

Hi All,

I got the issue resovled after I used this below comand on the file I wanted to edit.

Sudo gedit the file name.

With this command I could edit my config file.

@Eloyd, am trying to reload my nagios, but I could not see the file. I use the below command.

/et/rc.d/init.d/nagios reload.

I am getting file or directory is not existing. Please do u knw where the file could be, or what other ways I can restart the nagios.


I await your response.

Regards.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: install the Agent on the the system that i want to monit

Post by eloyd »

I hope it was a typo, but it should be /etc not /et
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: install the Agent on the the system that i want to monit

Post by tmcdonald »

/et/rc.d/init.d/nagios reload
That is a typo, you are missing the "c" in "etc":

Code: Select all

/etc/rc.d/init.d/nagios reload
And I am tending to agree with eloyd here - Nagios takes a certain familiarity and comfort with both Linux and the command line. If you are not comfortable with either I would suggest grabbing a Linux book that explains the fundamentals, or just read around various tutorials online.
Former Nagios employee
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: install the Agent on the the system that i want to monit

Post by lmiltchev »

I split the post as the original issue was resolved. The "new" thread is here:

http://support.nagios.com/forum/viewtop ... =7&t=28171
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked