![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#31 |
|
Member
Join Date: Aug 2001
Posts: 740
|
Yes there is!
Check_SNMP. Fuck me though, working with the snmpwalk output isnt the most enjoyable task. Doco on common (and useful) MIBs seems a bit thin on the ground which makes things a bit difficult... |
|
|
|
| Join OCAU to remove this ad! |
|
|
#32 |
|
Member
Join Date: Feb 2002
Location: Brisbane
Posts: 969
|
Wondering if anyone's ever used the Centreon (http://www.centreon.com/) frontend for nagios?
Seems to have most of what's necessary for managing configuration and certainly looks pretty, though either I'm going slowly insane, or there's nowhere in the interface to work with existing services - plenty of places you can create new ones, or work with templates, but unless a service is already assoicated with a host or hostgroup, there's no way to actually see it, which is sorta necessary to assoicate it with a host or group in the first place...
__________________
blbk |
|
|
|
|
|
#33 | |
|
Member
Join Date: Nov 2006
Location: Your Mums Bed
Posts: 3,875
|
Quote:
__________________
Playing online games?, Want some Company? Come Join us Join us as a member (Social or Competitive) @ www.deathinc.com.au Last edited by CordlezToaster; 8th October 2009 at 4:45 PM. |
|
|
|
|
|
|
#34 |
|
Member
Join Date: Feb 2002
Location: Brisbane
Posts: 969
|
While it doesn't come with Nagios, it's fairly easy to install once you've got nagios setup from source or package. Nagios runs happily in the background (meaning you can still use the default nagios interface, and configuration if you keep a seperate config dir for your handrolled stuff), centreon collects data via NDO, writes config out to a specified dir and reloads nagios as required.
The Centron installer seems to work OK - asks a lot of questions, but if you answer them right, you're good to go Upgrade process from 2.0.2 to 2.1.2 was very painless, though bigger jumps may bring problems.
__________________
blbk |
|
|
|
|
|
#35 |
|
Member
Join Date: Sep 2007
Posts: 321
|
Just wondering if someone can help me figure out what is going on with my nagios install.
go the system up and going, now im trying to monitor one of our windows boxes. I've installed NSClient++ on the client, and gone through and edited the ini file correctly (from what I could find its done right - but there could be something I've missed). When I've added the host to Nagios, it sees the host but won't get any service information. All I get is the error 'Connection refused could not fetch information from server' |
|
|
|
|
|
#36 |
|
Member
Join Date: Jun 2001
Location: At night, rave near the guards compartment, naked, with a blue light
Posts: 1,047
|
Sounds like a connectivity issue - check that the NSClient++ service is running, and ensure that the port that it's bound to (or the service) is not being blocked by Windows Firewall.
__________________
This is the noise that keeps me awake... |
|
|
|
|
|
#37 |
|
Member
Join Date: Sep 2007
Posts: 321
|
NSClient++ service is running, windows firewall is disabled on the box im trying to monitor
no firewalls in between as they are hosts on the same lan and subnet also disabled SEP incase that was causing any issues |
|
|
|
|
|
#38 |
|
Member
Join Date: Jul 2001
Location: Under the Bed.
Posts: 4,971
|
is it just me, or doesnt the NSClient open its ports up on the windows firewall when its installed/service is started?
edit: it sounds to me that either the nsclient didnt install correctly, or the ini file is borked. double check the ini file, and then do a complete removal on the client, and reinstall.
__________________
Samsung XE700T1A :: i7 MacBook-Pro 2010 :: i7 2600k :: 16Gb ripjaws :: P67A-UD7 :: 4GB GTX680 FTW :: Xonar Essence STX :: Dell 2709W :: G9/G13/G19/Z4 :: Spectre/Marauder Last edited by SpudBoy; 12th October 2009 at 10:01 AM. |
|
|
|
|
|
#39 |
|
Member
Join Date: Sep 2007
Posts: 321
|
ok did the un-install and reinstall of the nsclient++ and that doesn't seem to have done much
when i run the nsclient++.exe /test from a cmd i get the following: C:\Program Files\NSClient++>nsclient++.exe /test Launching test mode - client mode d NSClient++.cpp(1106) Enabling debug mode... d NSClient++.cpp(494) Attempting to start NSCLient++ - 0.3.6.818 2009-06-14 d NSClient++.cpp(897) Loading plugin: CheckDisk... d NSClient++.cpp(897) Loading plugin: Event log Checker.... d NSClient++.cpp(897) Loading plugin: Helper function... d NSClient++.cpp(897) Loading plugin: CheckSystem... d NSClient++.cpp(897) Loading plugin: CheckWMI... d NSClient++.cpp(897) Loading plugin: File logger... d \PDHCollector.cpp(66) Autodetected w2k or later, using w2k PDH counters. d \PDHCollector.cpp(103) Using index to retrive counternames l \FileLogger.cpp(93) Log path is: C:\Program Files\NSClient++\\nsclient.log d NSClient++.cpp(897) Loading plugin: LUAScript... d NSClient++.cpp(897) Loading plugin: NRPE server (w/ SSL)... d \NRPEListener.cpp(91) Loading all commands (from NRPE) d \NRPEListener.cpp(121) Starting NRPE socket... d \PDHCollector.cpp(123) Found countername: CPU: \Processor(_total)\% Process or Time d \PDHCollector.cpp(124) Found countername: UPTIME: \System\System Up Time d \PDHCollector.cpp(125) Found countername: MCL: \Memory\Commit Limit d \PDHCollector.cpp(126) Found countername: MCB: \Memory\Committed Bytes d NSClient++.cpp(897) Loading plugin: NSCAAgent (w/ encryption)... d \NSCAThread.cpp(77) Time difference for NSCA server is: 0 d \Socket.h(675) Bound to: 0.0.0.0:5666 d \NSCAThread.cpp(84) Only reporting: ok,warning,critical,unknown d \NSCAThread.cpp(102) Autodetected hostname: SAUMHOMB17 d NSClient++.cpp(897) Loading plugin: NSClient server... d \NSCAThread.cpp(171) Drifting: 0 d NSClient++.cpp(897) Loading plugin: SystemTray... d \Socket.h(675) Bound to: 0.0.0.0:12489 l NSClient++.cpp(600) NSCLient++ - 0.3.6.818 2009-06-14 Started! d \TrayIcon.cpp(53) Failed to load: ChangeWindowMessageFilter aparently we are n ot on Vista... l NSClient++.cpp(402) Using settings from: INI-file l NSClient++.cpp(403) Enter command to inject or exit to terminate... ^C C:\Program Files\NSClient++> |
|
|
|
|
|
#40 |
|
Member
Join Date: Jul 2001
Location: Under the Bed.
Posts: 4,971
|
looks like it *should* be running.
though (its a long shot, but might help) have you got the correct permissions of the nagios folder?
__________________
Samsung XE700T1A :: i7 MacBook-Pro 2010 :: i7 2600k :: 16Gb ripjaws :: P67A-UD7 :: 4GB GTX680 FTW :: Xonar Essence STX :: Dell 2709W :: G9/G13/G19/Z4 :: Spectre/Marauder |
|
|
|
|
|
#41 |
|
Member
Join Date: Sep 2007
Posts: 321
|
I take it you are talking about the client?
Yeah logged in under an admin account so there is no issues there |
|
|
|
|
|
#42 |
|
Member
Join Date: Jul 2001
Location: Under the Bed.
Posts: 4,971
|
yeh i was.
hmm.. this one looks a bit wierd. the only thing i can really think of at the moment that could cause this (after checking the others) is if the network settings have not been configured correctly. (i.e. subnets / gateways / routing etc)
__________________
Samsung XE700T1A :: i7 MacBook-Pro 2010 :: i7 2600k :: 16Gb ripjaws :: P67A-UD7 :: 4GB GTX680 FTW :: Xonar Essence STX :: Dell 2709W :: G9/G13/G19/Z4 :: Spectre/Marauder |
|
|
|
|
|
#43 |
|
Member
Join Date: Sep 2007
Posts: 321
|
hmm i don't think its a network issue
both hosts are on the same physical network/subnet (ones a VM in ESX and the other is a physical box) both can ping through to each other without any problems might try monitoring another host to see if its an issue with that one particular host edit: also what port should I be using??? 1248 or 12489? Last edited by jsp1511; 12th October 2009 at 11:47 AM. |
|
|
|
|
|
#44 |
|
Member
Join Date: Feb 2002
Location: Brisbane
Posts: 969
|
I think 1248 was originaly the default for NSClient, though I've also found it's sometimes already in use on windows servers. Solution might be to pick another port, and make sure the same port is specified in the check command.
__________________
blbk |
|
|
|
|
|
#45 |
|
Member
Join Date: Sep 2007
Posts: 321
|
tried it with both ports and a second host but neither seemed to work
but while screwing around wtih configs i found where the port is set in Nagios and confrimed its right im guessing I can just use SNMP if i wanted to? (would prefer to as we have snmp strings in place for other things) the only other issue I have atm is monitoring routers. I've installed mrtg and recompiled the plugins, but nagios is telling me it can't write to the logs files to record bandwidth (can't get the exact error right now cause im home from work ) any ideas? |
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|