reload a hote down , witch nagios xi

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.
Nagiosxii
Posts: 25
Joined: Thu May 18, 2017 12:11 pm

reload a hote down , witch nagios xi

Post by Nagiosxii »

hi!!
please , how can i reload a hote when it's down , using nagiosxi ?
witch commandes should i use ??
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: reload a hote down , witch nagios xi

Post by dwhitfield »

We'll need to know a bit more about the hosts, if that'd what you mean, but for restarting services, use the following documents:
Windows: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Linux: https://assets.nagios.com/downloads/nag ... h_NRPE.pdf

Can you PM me your Profile? I think it will be helpful in figuring out what is going on with your system. You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Nagiosxii
Posts: 25
Joined: Thu May 18, 2017 12:11 pm

Re: reload a hote down , witch nagios xi

Post by Nagiosxii »

thankx for ur fast reply!!
i will try with this documents , but my question , how can reload a hote , for exemple i recieve a email tell me that a windows is down , how can i releod it via nagiosxi,
not manually , go and releod the hote , i want to releod it by nagiosxi interface web and commandes ???
i hope u understood my post !!
AND THANKXX !!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: reload a hote down , witch nagios xi

Post by dwhitfield »

If you want to turn on a Windows device you'll need a Wake-on-LAN option: https://www.groovypost.com/howto/enable ... indows-10/

You may also be able to do something through Active Directory or through your VM management software, but those are not really nagios issues. Basically, if it's set up as a host rather than a service, just use the instructions I gave you and apply them to hosts instead of services.
Nagiosxii
Posts: 25
Joined: Thu May 18, 2017 12:11 pm

Re: reload a hote down , witch nagios xi

Post by Nagiosxii »

hii!
please , can you help meee!!!
i try with comument how to enable NPRE lisetener in nsclient+++
i add the commandes in my console ; when i open nsclient.ini , i didn't find all the ligne like the documments
and , when i tap in my nagiosxi server this commande "./check_npre -H @ de mon windows" , i recieve this mssg " check_npre : no such a file or directory"
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: reload a hote down , witch nagios xi

Post by dwhitfield »

If you are having trouble with NSClient, you might try NCPA instead: https://www.nagios.org/ncpa/help.php

What directory were you in when you typed ./check_nrpe? Is check NRPE actually in that directory?

It would be really helpful if you could send a profile so I could see what is going on on your system. You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Nagiosxii
Posts: 25
Joined: Thu May 18, 2017 12:11 pm

Re: reload a hote down , witch nagios xi

Post by Nagiosxii »

i "m talking about this commande
i "m talking about this commande
when i tap this command i recieve erreur ,not done
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: reload a hote down , witch nagios xi

Post by dwhitfield »

What is the output of ll /usr/local/nagios/libexec?

Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Nagiosxii
Posts: 25
Joined: Thu May 18, 2017 12:11 pm

Re: reload a hote down , witch nagios xi

Post by Nagiosxii »

out.PNG
this is the ouput of cd /usr/local/nagios/libexec
Nagiosxii
Posts: 25
Joined: Thu May 18, 2017 12:11 pm

Re: reload a hote down , witch nagios xi

Post by Nagiosxii »

ll.PNG
this is the output of ll /usr/nagios/local/libexec
Locked