"No Ports Detected" Network Switch/Router setup
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: "No Ports Detected" Network Switch/Router setup
Are there services associated with the hosts that aren't showing up? Could you send us a screenshot of what you're seeing on the Service Detail page?
Re: "No Ports Detected" Network Switch/Router setup
>>The offline install requires access to some repos. In that vein, what's the output of yum repolist?
Loaded plugins: ......
This system is not registered to .... Subscription Management....
repolist: 0
>>Also, the version you are running has security vulnerabilities which have been fixed in >>http://repo.nagios.com/nagiosxi-offline ... _64.tar.gz
>>I'd suggest upgrading before you get too far into your trial. That said, with the offline install, you are already >>protected from certain types of attacks.
I don't think the security threats will be an issue for me (stand alone system). Right?
Loaded plugins: ......
This system is not registered to .... Subscription Management....
repolist: 0
>>Also, the version you are running has security vulnerabilities which have been fixed in >>http://repo.nagios.com/nagiosxi-offline ... _64.tar.gz
>>I'd suggest upgrading before you get too far into your trial. That said, with the offline install, you are already >>protected from certain types of attacks.
I don't think the security threats will be an issue for me (stand alone system). Right?
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: "No Ports Detected" Network Switch/Router setup
Did you scrub your profile? The screenshot you sent me in the PM doesn't match up with the profile you sent.
Did you have DVD repo and then removed it? I'm not sure how you got things installed without some sort of repo.
As for the security vulnerabilities, the nature of monitoring is that the machine will need to talk to something. Unless your entire environment is completely isolated from the Internet, then there is some risk. Even then, what if someone attacks from another machine on your network? Certainly, you've decreased the risk.
Did you have DVD repo and then removed it? I'm not sure how you got things installed without some sort of repo.
As for the security vulnerabilities, the nature of monitoring is that the machine will need to talk to something. Unless your entire environment is completely isolated from the Internet, then there is some risk. Even then, what if someone attacks from another machine on your network? Certainly, you've decreased the risk.
Re: "No Ports Detected" Network Switch/Router setup
I ignored that part.
I also had to download a heck of a lot more rpms than were listed in the instructions.
I also had to download a heck of a lot more rpms than were listed in the instructions.
Re: "No Ports Detected" Network Switch/Router setup
>>Did you scrub your profile? The screenshot you sent me in the PM doesn't match up with the profile you sent.
The screen shot came after I added client1.cfg to the static dir.
>>Did you have DVD repo and then removed it? I'm not sure how you got things installed without some sort of repo.
This is the part I ignored.
>>As for the security vulnerabilities, the nature of monitoring is that the machine will need to talk to something. >>Unless your entire environment is completely isolated from the Internet, then there is some risk. Even then, >>what if someone attacks from another machine on your network? Certainly, you've decreased the risk.
I am completely off-line.
The screen shot came after I added client1.cfg to the static dir.
>>Did you have DVD repo and then removed it? I'm not sure how you got things installed without some sort of repo.
This is the part I ignored.
>>As for the security vulnerabilities, the nature of monitoring is that the machine will need to talk to something. >>Unless your entire environment is completely isolated from the Internet, then there is some risk. Even then, >>what if someone attacks from another machine on your network? Certainly, you've decreased the risk.
I am completely off-line.
Re: "No Ports Detected" Network Switch/Router setup
Without seeing the client1.cfg file, I am mostly guessing.
That file is probably setup to use custom settings / configuration settings for plugins that are not installed on the system and that is what is causing the errors.
The best thing to do is to run a wizard for your device and not copy that file to the static folder unless that file is reconfigured to match the XI system.
That file is probably setup to use custom settings / configuration settings for plugins that are not installed on the system and that is what is causing the errors.
The best thing to do is to run a wizard for your device and not copy that file to the static folder unless that file is reconfigured to match the XI system.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: "No Ports Detected" Network Switch/Router setup
Tested the following from terminal:
./check_nt -H 192.168.139.160 -s nagiosadmin -p 12489 -v CPULOAD -l 5,80,90 works fine.
./check_nt -H 192.168.139.160 -s nagiosadmin -p 12489 -v USEDDISKSPACE -l C -w 80 -c 95 invalid drive.
Before I tested this I refreshed my VM and reinstalled Nag, then used the autoWizard to detect the nodes.
I tested check_nt on a different rhel with nagios core on it and it works.
I'll be at a training course all next week.
Thanks.
./check_nt -H 192.168.139.160 -s nagiosadmin -p 12489 -v CPULOAD -l 5,80,90 works fine.
./check_nt -H 192.168.139.160 -s nagiosadmin -p 12489 -v USEDDISKSPACE -l C -w 80 -c 95 invalid drive.
Before I tested this I refreshed my VM and reinstalled Nag, then used the autoWizard to detect the nodes.
I tested check_nt on a different rhel with nagios core on it and it works.
I'll be at a training course all next week.
Thanks.
Re: "No Ports Detected" Network Switch/Router setup
Do you see any errors in the nsclient.log file on the windows host while you run the check_nt USEDDISKSPACE check from the command line?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: "No Ports Detected" Network Switch/Router setup
>> Do you see any errors in the nsclient.log file on the windows host while you run the check_nt USEDDISKSPACE check from the command line?
Yes, Ip is incorrect. It is working now.
Working on the switch now.
From Configure Monitoring Setup > Advanced Configuration > Recently Changed Hosts and Services > Switch > Host management...
The command is check_snmp. Seems like something is not getting saved to one of the .cfg files. For example in the 'Host Management' screen the 'Command view' doesn't change (ie only -H $HOSTADDRESS$ $ARGS1$ are there). When I run 'Check command' it looks the same. I clicked the 'save' button, but no change. The /hosts/switch.cfg file has the additional args. In the /Services/switch.cfg file there aren't any changes/additional to check_snmp.
Thanks,
Jspence.
Yes, Ip is incorrect. It is working now.
Working on the switch now.
From Configure Monitoring Setup > Advanced Configuration > Recently Changed Hosts and Services > Switch > Host management...
The command is check_snmp. Seems like something is not getting saved to one of the .cfg files. For example in the 'Host Management' screen the 'Command view' doesn't change (ie only -H $HOSTADDRESS$ $ARGS1$ are there). When I run 'Check command' it looks the same. I clicked the 'save' button, but no change. The /hosts/switch.cfg file has the additional args. In the /Services/switch.cfg file there aren't any changes/additional to check_snmp.
Thanks,
Jspence.
Re: "No Ports Detected" Network Switch/Router setup
Edit>>
Sorry, instead of /services/switch.cfg I meant commands.cfg.
Sorry, instead of /services/switch.cfg I meant commands.cfg.