Search found 9 matches
- Tue Jun 13, 2017 10:55 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Service Output Displays Random Numbers
- Replies: 21
- Views: 16544
Re: Nagios Service Output Displays Random Numbers
@tgriep Thank you! This solved the issue! Just two quick follow-up questions; do you know if there is a way to increase the spacing in the extend status information of Nagios Core on its front end? Or if there is an option to bold certain parts of the output?
- Thu Jun 08, 2017 2:45 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Service Output Displays Random Numbers
- Replies: 21
- Views: 16544
Re: Nagios Service Output Displays Random Numbers
Thanks @tgriep, change successful.
@dwhitfield where do you want to see this?
@dwhitfield where do you want to see this?
Code: Select all
root@nagios:/usr/local/nagios/libexec# ./check_nrpe -H REMOTEHOST -c inxi
output- Thu Jun 08, 2017 11:08 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Service Output Displays Random Numbers
- Replies: 21
- Views: 16544
Re: Nagios Service Output Displays Random Numbers
The output is /bin/bash
How would I go about changing nagios
123:131::/var/lib/nagios:/bin/false to nagios
123:131::/var/lib/nagios:/bin/bash?
How would I go about changing nagios
- Thu Jun 08, 2017 8:48 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Service Output Displays Random Numbers
- Replies: 21
- Views: 16544
Re: Nagios Service Output Displays Random Numbers
I cannot su in the nagios user, after I entered its password I remain as the same user. Do I need to install Nagios Core on the remote machine? Or do I just need to add a user named nagios?
Also, is the line you created what I should have for the nagios command?
Also, is the line you created what I should have for the nagios command?
- Wed Jun 07, 2017 3:09 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Service Output Displays Random Numbers
- Replies: 21
- Views: 16544
Re: Nagios Service Output Displays Random Numbers
Okay, I will try that. I ran cat for /etc/passwd and nagios is listed as:
^On the remote machine
Could this have any affect on the issue?
Code: Select all
nagios:x:123:131::/var/lib/nagios:/bin/falseCould this have any affect on the issue?
- Wed Jun 07, 2017 2:39 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Service Output Displays Random Numbers
- Replies: 21
- Views: 16544
Re: Nagios Service Output Displays Random Numbers
Yes, the remote machine is also Ubuntu is also 16.04.2 Contents of nrpe.cfg file on remote machine: ############################################################################# # Sample NRPE Config File # Written by: Ethan Galstad (nagios@nagios.org) # # Last Modified: 11-23-2007 # # NOTES: # This ...
- Wed Jun 07, 2017 12:06 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios Service Output Displays Random Numbers
- Replies: 21
- Views: 16544
Re: Nagios Service Output Displays Random Numbers
@dwhitfield I am using NRPE to run the inxi -Fx command on a remote host. I am using Nagios Core 4.2.0 on Ubuntu 16.04.2.
@mcapra Is just a package installed on Ubuntu. It is running via the command line. Are you recommending I create a script to run the command?
@mcapra Is just a package installed on Ubuntu. It is running via the command line. Are you recommending I create a script to run the command?
- Wed Jun 07, 2017 9:59 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Service Output Displays Random Numbers
- Replies: 21
- Views: 16544
Re: Nagios Service Output Displays Random Numbers
Sure commands.cfg: # 'check_hardware_installed' command definition define command{ command_name check_hardware_installed command_line inxi -Fx } servers/ host .cfg: define host { use linux-server host_name host alias Nagios Client 1 address IP max_check_attempts 5 check_period 24x7 notification_inte...
- Tue Jun 06, 2017 10:25 am
- Forum: Open Source Nagios Projects
- Topic: Nagios Service Output Displays Random Numbers
- Replies: 21
- Views: 16544
Nagios Service Output Displays Random Numbers
Hey everyone! I created a command on my nagios server to check hardware installed on remote hosts. The command_line is just: inxi -Fx I installed inxi on the remote server, and the command runs in the service, providing the correct output. The issue is that the output included random number 12s. For...