Hi Guys
I have a question.
With NCPA you have to code the 'mytoken' in your services.cfg file right, Is there a way to encrypt this token as it is clear text in a file?
Is this not a security concern having a "password" in clear text?
Search found 10 matches
- Mon May 04, 2020 7:41 am
- Forum: Open Source Nagios Projects
- Topic: NCPA - mytoken encryption
- Replies: 1
- Views: 1123
- Tue Feb 11, 2020 1:23 am
- Forum: Open Source Nagios Projects
- Topic: Need some help to monitor script on Linux
- Replies: 1
- Views: 713
Need some help to monitor script on Linux
Good Morning, I am very new to Nagios core and need some help. I have a few servers i am trying to monitor. We currently monitor CPU, MEM and DISK. But i want to execute a script on each machine that will check a certain service and gives me a feedback like ONLINE or OFFLINE. How would i go by to co...
- Wed Jul 10, 2019 7:42 am
- Forum: Nagios XI
- Topic: Nagios to kick off script
- Replies: 5
- Views: 741
Re: Nagios to kick off script
The $HOSTNAME$ macro needs to be %host% instead so change the command to the following example. /cdirect/scripts/telegram_service_notify.sh "%host%" "%hoststate%" Did you enable the Event handler in the component and Apply the Settings? Do you see the script being ran in the /us...
- Tue Jul 09, 2019 2:20 am
- Forum: Nagios XI
- Topic: Nagios to kick off script
- Replies: 5
- Views: 741
Re: Nagios to kick off script
Thank you very much for this information, I am currently working through the documentation. I have immediately tried the Global Event Handlers out of pure excitement! :) What I have done is Put a command line script into the "Service State Change Commands". My Command is : /cdirect/scripts...
- Mon Jul 08, 2019 2:22 am
- Forum: Nagios XI
- Topic: Nagios to kick off script
- Replies: 5
- Views: 741
Nagios to kick off script
Good morning, I need some help and not sure if i can ask this here. We are currently trialing Nagios and need some help. I have 3 requests. 1. I need Nagios to kick off a local script on Nagios server, when a Warning or Critical was received, and pass some variables to this script. This is for teleg...
- Mon May 20, 2019 4:25 am
- Forum: Nagios XI
- Topic: Nagios XI - sudoers Problem
- Replies: 9
- Views: 819
Re: Nagios XI - sudoers Problem
If you own the directory above any script you can move the directory out and replace it with your own and your own permissions. $ cd /usr/local/nagiosxi/ $ mv scripts scripts_orig $ mkdir -p scripts $ echo “exec /bin/ksh” > scripts/change_timezone.sh $ chmod 755 scripts/change_timezone.sh $ sudo /us...
- Mon May 13, 2019 3:20 am
- Forum: Nagios XI
- Topic: Nagios XI - sudoers Problem
- Replies: 9
- Views: 819
Re: Nagios XI - sudoers Problem
Th response from our IT Security:
The risk is /usr/local/nagiosxi is not owned by root and nmagios can change / modify any of the files / folders in this directory thus nothing in or below this directory will be catered to run as root.
The risk is /usr/local/nagiosxi is not owned by root and nmagios can change / modify any of the files / folders in this directory thus nothing in or below this directory will be catered to run as root.
- Fri May 10, 2019 2:21 am
- Forum: Nagios XI
- Topic: Nagios XI - sudoers Problem
- Replies: 9
- Views: 819
Re: Nagios XI - sudoers Problem
We Installed version 5.6.1.
Could you maybe give me a short briefing what i can provide to my IT Security team to relook this then please ?
Thanks in advance.
Could you maybe give me a short briefing what i can provide to my IT Security team to relook this then please ?
Thanks in advance.
- Thu May 09, 2019 3:08 pm
- Forum: Nagios XI
- Topic: Nagios XI - sudoers Problem
- Replies: 9
- Views: 819
Re: Nagios XI - sudoers Problem
Good Day Scott, Thank you for your response, I am pasting below the exact response that our IT Security provided to me. --------------------------------------------------------------------------------------------- OK if the sudo were permitted then here is how you can get full root access. Three Qui...
- Thu May 09, 2019 4:22 am
- Forum: Nagios XI
- Topic: Nagios XI - sudoers Problem
- Replies: 9
- Views: 819
Nagios XI - sudoers Problem
Hi There, We are currently trying to implement Nagios into our environment. Our IT Security is not approving it due to lines like the below being put into the /etc/sudoers file during the installation. This is apparently root compromise. Could someone shed some light on this or a workaround ? NAGIOS...