Remove Client

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Remove Client

Post by rlinux57 »

Kindly let me know how to remove client or stop client to send logs to NLS ?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Remove Client

Post by hsmith »

What kind of device is it sending logs?
Former Nagios Employee.
me.
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Remove Client

Post by rlinux57 »

Linux based client.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Remove Client

Post by hsmith »

You could stop the rsyslog daemon, but that might be a little extreme. You could remove the directive that is telling it to send to your NLS server from the configuration and restart rsyslog.
Former Nagios Employee.
me.
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Remove Client

Post by rlinux57 »

Can you be more specific ?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Remove Client

Post by rkennedy »

Look in your /etc/rsyslog.d/ directory, and remove the file that is associated with NLS. For instance, mine is /etc/rsyslog.d/99-nagioslogserver.conf.

Once it's removed, run service rsyslog restart
Former Nagios Employee
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Remove Client

Post by rlinux57 »

I'm getting issue while fetching logs from client end, i have not receiving logs from client and i have allowed port "5544" in csf firewall on client end.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Remove Client

Post by rkennedy »

Can you please clarify the issue you're talking about? I thought you wanted to remove the client.
Former Nagios Employee
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Remove Client

Post by rlinux57 »

I have removed the client and add another client that's using CSF firewall i have allowed port number but NLS won't fetch logs..
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Remove Client

Post by hsmith »

Something to understand is that NLS doesn't 'fetch' logs. The client sends the logs to NLS, and NLS processes them accordingly. What kind of syslog daemon is your new client running?
Former Nagios Employee.
me.
Locked