Alerts via Linux
Alerts via Linux
I was wondering where can I find Nagios XI alerts via Linux ???
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Alerts via Linux
Sorry, could you expand on that a bit? Are you asking where you can find mail logs of the notifications that were sent out? You can also see alerts in the archived nagios logs.
Centos/Rhel
Edit: Just spoke on the phone with you, can you run the above commands and show the output? Also, this is in the general XI support forum, do you have access to the Customer support section? If not, please have aowens email [email protected] with your email address and forum username to be added and we can take care of that!
Centos/Rhel
Code: Select all
ll /var/log/maillog
ll /usr/local/nagios/var/nagios.log
Re: Alerts via Linux
which process generate alerts
where are the alerts stored in Linux
How can I verify that alerts are correctly set up
where are the alerts stored in Linux
How can I verify that alerts are correctly set up
Re: Alerts via Linux
I have located this directory -/usr/local/nagios/var/
but I do not have a nagios.log within it
but I do not have a nagios.log within it
Re: Alerts via Linux
Is nagios running? Please run the following commands and post the output here:
Code: Select all
service nagios status
ps -ef | grep nagios
ls /usr/local/nagios/var/
Former Nagios employee
Re: Alerts via Linux
I ran your commands and this is the output that I received -I am receiving email alerts for this box but I would like to see them on the Linux box
[root@stag-bhix-stacc log]# service nagios status
nagios: unrecognized service
[root@stag-bhix-stacc log]#
[root@stag-bhix-stacc log]# ps -ef | grep nagios
root 15838 15311 0 14:12 pts/2 00:00:00 grep nagios
[root@stag-bhix-stacc log]#
[root@stag-bhix-stacc log]# cd /usr/local/nagios/var
[root@stag-bhix-stacc var]# ls -ltr
total 4
drwxr-xr-x 2 nagios nagios 4096 Oct 9 09:39 spool
[root@stag-bhix-stacc var]# cd spool/
[root@stag-bhix-stacc spool]# ls -ltr
total 0
[root@stag-bhix-stacc spool]#
[root@stag-bhix-stacc log]# service nagios status
nagios: unrecognized service
[root@stag-bhix-stacc log]#
[root@stag-bhix-stacc log]# ps -ef | grep nagios
root 15838 15311 0 14:12 pts/2 00:00:00 grep nagios
[root@stag-bhix-stacc log]#
[root@stag-bhix-stacc log]# cd /usr/local/nagios/var
[root@stag-bhix-stacc var]# ls -ltr
total 4
drwxr-xr-x 2 nagios nagios 4096 Oct 9 09:39 spool
[root@stag-bhix-stacc var]# cd spool/
[root@stag-bhix-stacc spool]# ls -ltr
total 0
[root@stag-bhix-stacc spool]#
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Alerts via Linux
Can you access the web interface? How did you install nagios? What version are you running, and on what distro?
Re: Alerts via Linux
yes I can access web interface and I see alerts coming to my email
Followed the instruction from the web site - and downloaded the install plugin from the nagios web site
Nagios XI 2012R2.5
Followed the instruction from the web site - and downloaded the install plugin from the nagios web site
Nagios XI 2012R2.5
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Alerts via Linux
I just noticed you said this:
Is this actually the nagiosxi server that you are ssh'd into? The nagios xi server will have a nagios.log file in /usr/local/nagios/var/, this log file is required for quite a few things in nagios. If you are missing this log, something must not be functioning correctly. Can you navigate to the reports page in the Nagios XI web frontend and try to pull down report information? Can you get valid data?I ran your commands and this is the output that I received -I am receiving email alerts for this box but I would like to see them on the Linux box
Re: Alerts via Linux
Please identify process which send alert from client to server
Do we store any alerts on the client site
Do we store any alerts on the client site