custom bash script

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.
ddk
Posts: 6
Joined: Mon Aug 19, 2013 7:22 am

Re: custom bash script

Post by ddk »

Code: Select all

env
HOSTNAME=hostname
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
USER=nagios
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;
PAGER=less
PATH=/root/bin:/root/sbin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin
MAIL=/var/spool/mail/root
_=/usr/bin/env
PWD=/
EDITOR=/usr/bin/mcedit
LANG=en_US.UTF-8
HISTIGNORE=&:ls:[bf]g:exit
HISTCONTROL=ignoredups
HOME=/var/spool/nagios
SHLVL=2
BASH_ENV=/root/.bashrc
LOGNAME=nagios
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
HISTFILE=/dev/null
G_BROKEN_FILENAMES=1

abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: custom bash script

Post by abrist »

Do me a favor and "su" to nagios and then run "env" once again.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked