Announcement

Collapse
No announcement yet.

Nagios.....the fudge????

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Nagios.....the fudge????

    Anyone here familiar with Nagios? We're using it at work and it was configued by someone else and they're not available till Tuesday. So other than the web interface, how the hell do I get into the back end of this? He showed me once but obviously, Linux is not my friend!

    Can anyone here point me in the right direction?
    Last edited by Rick Modena; 08-25-2012, 08:46 AM.

  • #2
    that's racist

    Comment


    • #3
      Whats wrong with it?

      Comment


      • #4
        I use it at our office to monitor our servers in our colo over a vpn... You need to ssh into the server running nagios and setup it's configuration files and then restart the monitoring if you need to make a change.

        Here's my notes that I use to remind myself when I need to go tweak something (on an ubuntu box)
        To restart nagios after a config change:
        /etc/init.d/nagios restart

        config files location:
        /usr/local/nagios/etc/objects

        command to validate config after making config changes:
        /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

        Comment


        • #5
          What he said and check /var/log/messages after you make changes to see if/what it pukes on
          WRX

          Comment


          • #6
            Have you tried the power button?
            Karussell White - 2010 Genesis Coupe R-Spec 6MT 2.0T -

            Comment


            • #7
              No one on this website should run Linux besides me.

              Can you explain what you mean by 'the backend'? Do you even know why or what you're looking for or did your mommy get you a puter for Christmas.

              Comment


              • #8
                Originally posted by abecx View Post
                No one on this website should run Linux besides me.

                Can you explain what you mean by 'the backend'? Do you even know why or what you're looking for or did your mommy get you a puter for Christmas.
                Show him man!

                *looks at OP* he's elite.

                Comment


                • #9
                  Originally posted by goofygrin View Post
                  I use it at our office to monitor our servers in our colo over a vpn... You need to ssh into the server running nagios and setup it's configuration files and then restart the monitoring if you need to make a change.

                  Here's my notes that I use to remind myself when I need to go tweak something (on an ubuntu box)
                  To restart nagios after a config change:
                  /etc/init.d/nagios restart

                  config files location:
                  /usr/local/nagios/etc/objects

                  command to validate config after making config changes:
                  /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
                  Thanks man... I was forgetting the SSH part. I don't have the login credentials so I'm still kinda stuck.

                  No one on this website should run Linux besides me.

                  Can you explain what you mean by 'the backend'? Do you even know why or what you're looking for or did your mommy get you a puter for Christmas.
                  Oh mighty web/Linux god of all gods! I need to verify what email addresses are being used for some alerts and I don't see where it shows that in the web interface. I knew "backend" wasn't the correct term but didn't care. And technically, this is a new "computer" at work that I get to mess with. Think you canz hack it for me?

                  Comment


                  • #10
                    Originally posted by GeorgeG. View Post
                    Thanks man... I was forgetting the SSH part. I don't have the login credentials so I'm still kinda stuck.



                    Oh mighty web/Linux god of all gods! I need to verify what email addresses are being used for some alerts and I don't see where it shows that in the web interface. I knew "backend" wasn't the correct term but didn't care. And technically, this is a new "computer" at work that I get to mess with. Think you canz hack it for me?
                    Get into the web admin, then go to configuration (bottom of the menu on the left), then contacts and/or contact groups.

                    Comment


                    • #11
                      Welp....looks like I'm back on this topic. I need to add some new server services to be monitored I've installed NSClient++ on the server and checked the necessary options during install, selected the Allow Service to Interact with Desktop, etc.

                      I've been trying to find the VI editor...all I found was VIM. I installed that but still need to find the config file.

                      I SSH into the Nagios server (found the login credentials btw), go to usr/local/nagios <Enter> then type ls. Unfortunately I suck at note taking and that's all I have... any suggestions?


                      <-----dislikes the unknown


                      ah ha....so I wasn't typing the full path...I'm getting there!

                      Woohoo! you can now rank me up there with AbecX....I figured it out.
                      Last edited by GeorgeG.; 04-22-2013, 03:14 PM.

                      Comment


                      • #12
                        Originally posted by GeorgeG. View Post
                        Welp....looks like I'm back on this topic. I need to add some new server services to be monitored I've installed NSClient++ on the server and checked the necessary options during install, selected the Allow Service to Interact with Desktop, etc.

                        I've been trying to find the VI editor...all I found was VIM. I installed that but still need to find the config file.

                        I SSH into the Nagios server (found the login credentials btw), go to usr/local/nagios <Enter> then type ls. Unfortunately I suck at note taking and that's all I have... any suggestions?


                        <-----dislikes the unknown


                        ah ha....so I wasn't typing the full path...I'm getting there!

                        Woohoo! you can now rank me up there with AbecX....I figured it out.
                        So you got this figured out in it's entirety? I'd stay away from vi/vim as a newb since it's got a pretty steep learning curve.
                        Interested in being a VIP member and donating to the site? Click here http://dfwmustangs.net/forums/payments.php

                        Comment


                        • #13
                          Originally posted by Mach1 View Post
                          So you got this figured out in it's entirety? I'd stay away from vi/vim as a newb since it's got a pretty steep learning curve.
                          oh no, I just figured out how to remove some monitored services that we no longer needed. I still have to add other servers and services but by looking at what's currently in there, I'm hoping I can get it right without breaking it.

                          Why system/network admins even use this and Cacti is beyond me. I know it's free but man, the work involved to get it set up is ridiculous. It needs a GUI.

                          Comment


                          • #14
                            Originally posted by GeorgeG. View Post
                            oh no, I just figured out how to remove some monitored services that we no longer needed. I still have to add other servers and services but by looking at what's currently in there, I'm hoping I can get it right without breaking it.

                            Why system/network admins even use this and Cacti is beyond me. I know it's free but man, the work involved to get it set up is ridiculous. It needs a GUI.
                            lol I had no issue with managing nagios via the config files, then we started using nagiosQL and I was like ACK. What editor are you using, try using something easy like nano, should already be installed, the commands are at the bottom ^=Ctrl on the keyboard.
                            Interested in being a VIP member and donating to the site? Click here http://dfwmustangs.net/forums/payments.php

                            Comment

                            Working...
                            X