Using Nagios Core At Home...

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Using Nagios Core At Home...

Postby Goobertek » Sat Jun 13, 2020 3:33 pm

I have a home network. For fun and my own education I'd like to play with Nagios Core to monitor network. However, I am not sure what I can do? I don't want to load agents so I am restricted to snmp. I know I can "Ping" but can I check disk space on windows desktops? Can I monitor ink and such on a printer? Can I get details on the desktops and other devices like mac address?

Any help would be appreciated.

Rob
Goobertek
 
Posts: 8
Joined: Wed Jun 10, 2020 5:21 pm

Using Nagios Core At Home...

Postby Goobertek » Sat Jun 13, 2020 7:55 pm

I am using Nagios Core to monitor my home network. Why? Because it's fun and I am just increasing my skills. However, I am not sure what I can do when it comes to monitoring Windows PCs. I don't want to load agents so I am confined to snmp. I know I can Ping the them but what else? Can I remotely check disk space? Anything else?
Goobertek
 
Posts: 8
Joined: Wed Jun 10, 2020 5:21 pm

Re: Using Nagios Core At Home...

Postby cdienger » Wed Jun 17, 2020 4:49 pm

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 4436
Joined: Tue Feb 07, 2017 11:26 am

Re: Using Nagios Core At Home...

Postby Goobertek » Fri Jun 19, 2020 7:35 pm

Thanks for the help. I have tried to get check_disk to work but I can't figure out the syntax. Can you help with one? I can probably get the rest from the pattern. Here is the syntax. It doesn't work. Is this an SNMP check? I don't have the agent running on the PC and I'd rather not.

define host {
use linux-server ; Host group to use
host_name Kronos ; Name of this host
alias Kronos Windows Laptop ; Alias
address 192.168.1.209 ; IP Address
}

define service {
use local-service
host_name Kronos
service_description Disk Space
check_command check_disk -w 10% -c 5% -p /
}
Goobertek
 
Posts: 8
Joined: Wed Jun 10, 2020 5:21 pm

Re: Using Nagios Core At Home...

Postby Goobertek » Sun Jun 21, 2020 7:27 pm

I made some additional changes. Still no luck.

Command.cfg:

define command{
command_name check_disk
command_line $USER1$/check_desk -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p $ARG3$
}

define service {
use local-service
host_name Kronos
service_description Disk Space
check_command check_disk!10%!5%!C:/
}
Goobertek
 
Posts: 8
Joined: Wed Jun 10, 2020 5:21 pm

Re: Using Nagios Core At Home...

Postby benjaminsmith » Mon Jun 22, 2020 4:27 pm

Hi @Goobertek,

It looks like there's a typo in the check command, but that plugin will only work in Linux environments.

For running checks on Windows systems, by far the easier set up is going to use the NCPA Agent. It's super easy to set up and get checks running on the host.

NCPA -- Nagios Cross Platform Agent

Otherwise, you'll probably want to use WMI, such as check_wmi_plus.

By the way, just so you know, we offer a light (free!) version of Nagios XI for small environments like this. It's limited to 100 total host and service checks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benjaminsmith
 
Posts: 2866
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Using Nagios Core At Home...

Postby Goobertek » Tue Jun 23, 2020 10:34 am

Thanks for the support. I was going to check out Nagios XI. However, I have been looking to see if anyone has been success at doing it and documenting it on a Raspberry Pi. Would rather not venture into that challenge alone:-}

Thanks for the support!

Rob
Goobertek
 
Posts: 8
Joined: Wed Jun 10, 2020 5:21 pm

Re: Using Nagios Core At Home...

Postby Goobertek » Tue Jun 23, 2020 4:18 pm

I just tried to install XI on my pi and the installation said it wasn't compatable
Goobertek
 
Posts: 8
Joined: Wed Jun 10, 2020 5:21 pm

Re: Using Nagios Core At Home...

Postby benjaminsmith » Wed Jun 24, 2020 3:28 pm

Hi,

Thanks for the feedback on that. Anyways, if you have other questions about Nagios Core then, just let me know.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benjaminsmith
 
Posts: 2866
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul


Return to Community Support

Who is online

Users browsing this forum: Google [Bot] and 15 guests