Overclockers Australia Forums

OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Specific Hardware Topics > Business & Enterprise Computing

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 17th August 2009, 11:30 AM   #31
Mac Thread Starter
Member
 
Join Date: Aug 2001
Posts: 740
Default

Quote:
Originally Posted by Mac View Post
So the Check_HPJD plugin doesnt work - is their an alternative?
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...
Mac is offline   Reply With Quote

Join OCAU to remove this ad!
Old 6th October 2009, 5:20 PM   #32
7nothing
Member
 
7nothing's Avatar
 
Join Date: Feb 2002
Location: Brisbane
Posts: 969
Default

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
7nothing is offline   Reply With Quote
Old 8th October 2009, 3:23 PM   #33
CordlezToaster
Member
 
CordlezToaster's Avatar
 
Join Date: Nov 2006
Location: Your Mums Bed
Posts: 3,875
Default

Quote:
Originally Posted by 7nothing View Post
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...
That does look awsome, i might give it a test. does any one know of a good vm appliance that takes care of setup and install?
__________________
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.
CordlezToaster is offline   Reply With Quote
Old 8th October 2009, 7:15 PM   #34
7nothing
Member
 
7nothing's Avatar
 
Join Date: Feb 2002
Location: Brisbane
Posts: 969
Default

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
7nothing is offline   Reply With Quote
Old 12th October 2009, 9:21 AM   #35
jsp1511
Member
 
Join Date: Sep 2007
Posts: 321
Default

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'
jsp1511 is offline   Reply With Quote
Old 12th October 2009, 9:41 AM   #36
Spingo
Member
 
Spingo's Avatar
 
Join Date: Jun 2001
Location: At night, rave near the guards compartment, naked, with a blue light
Posts: 1,047
Default

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...
Spingo is offline   Reply With Quote
Old 12th October 2009, 9:56 AM   #37
jsp1511
Member
 
Join Date: Sep 2007
Posts: 321
Default

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
jsp1511 is offline   Reply With Quote
Old 12th October 2009, 9:58 AM   #38
SpudBoy
Member
 
SpudBoy's Avatar
 
Join Date: Jul 2001
Location: Under the Bed.
Posts: 4,971
Default

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
Quote:
Originally Posted by Reaper View Post
Because noone cares about you, your hand, the romantic bucket of kfc and the picture of your cousin.

Last edited by SpudBoy; 12th October 2009 at 10:01 AM.
SpudBoy is offline   Reply With Quote
Old 12th October 2009, 10:29 AM   #39
jsp1511
Member
 
Join Date: Sep 2007
Posts: 321
Default

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++>
jsp1511 is offline   Reply With Quote
Old 12th October 2009, 10:33 AM   #40
SpudBoy
Member
 
SpudBoy's Avatar
 
Join Date: Jul 2001
Location: Under the Bed.
Posts: 4,971
Default

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
Quote:
Originally Posted by Reaper View Post
Because noone cares about you, your hand, the romantic bucket of kfc and the picture of your cousin.
SpudBoy is offline   Reply With Quote
Old 12th October 2009, 10:36 AM   #41
jsp1511
Member
 
Join Date: Sep 2007
Posts: 321
Default

I take it you are talking about the client?

Yeah logged in under an admin account so there is no issues there
jsp1511 is offline   Reply With Quote
Old 12th October 2009, 10:39 AM   #42
SpudBoy
Member
 
SpudBoy's Avatar
 
Join Date: Jul 2001
Location: Under the Bed.
Posts: 4,971
Default

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
Quote:
Originally Posted by Reaper View Post
Because noone cares about you, your hand, the romantic bucket of kfc and the picture of your cousin.
SpudBoy is offline   Reply With Quote
Old 12th October 2009, 10:47 AM   #43
jsp1511
Member
 
Join Date: Sep 2007
Posts: 321
Default

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.
jsp1511 is offline   Reply With Quote
Old 12th October 2009, 6:29 PM   #44
7nothing
Member
 
7nothing's Avatar
 
Join Date: Feb 2002
Location: Brisbane
Posts: 969
Default

Quote:
Originally Posted by jsp1511 View Post
edit: also what port should I be using??? 1248 or 12489?
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
7nothing is offline   Reply With Quote
Old 12th October 2009, 7:10 PM   #45
jsp1511
Member
 
Join Date: Sep 2007
Posts: 321
Default

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?
jsp1511 is offline   Reply With Quote
Reply

Bookmarks

Sign up for a free OCAU account and this ad will go away!

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 1:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!