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
Using Nagios Core At Home...
Using Nagios Core At Home...
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?
Re: Using Nagios Core At Home...
I believe the snmp checks mentioned in these articles will work for Windows systems:
https://support.nagios.com/kb/article/c ... s-773.html
https://support.nagios.com/kb/article/d ... s-770.html
https://support.nagios.com/kb/article/m ... s-774.html
https://support.nagios.com/kb/article/p ... s-782.html
These and more can be found in the Check Library at https://support.nagios.com/kb/category.php?id=186.
I'll also point out the check_wmiplus plugin - https://edcint.co.nz/checkwmiplus/.
And as far as a MAC check - https://exchange.nagios.org/directory/P ... rp/details.
https://support.nagios.com/kb/article/c ... s-773.html
https://support.nagios.com/kb/article/d ... s-770.html
https://support.nagios.com/kb/article/m ... s-774.html
https://support.nagios.com/kb/article/p ... s-782.html
These and more can be found in the Check Library at https://support.nagios.com/kb/category.php?id=186.
I'll also point out the check_wmiplus plugin - https://edcint.co.nz/checkwmiplus/.
And as far as a MAC check - https://exchange.nagios.org/directory/P ... rp/details.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Using Nagios Core At Home...
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 /
}
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 /
}
Re: Using Nagios Core At Home...
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:/
}
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:/
}
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Using Nagios Core At Home...
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.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Using Nagios Core At Home...
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
Thanks for the support!
Rob
Re: Using Nagios Core At Home...
I just tried to install XI on my pi and the installation said it wasn't compatable
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Using Nagios Core At Home...
Hi,
Thanks for the feedback on that. Anyways, if you have other questions about Nagios Core then, just let me know.
Benjamin
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!